sdk-javascript/package.json

147 lines
4.0 KiB
JSON

{
"name": "cloudevents",
"version": "4.0.1",
"description": "CloudEvents SDK for JavaScript",
"main": "dist/index.js",
"scripts": {
"watch": "tsc --project tsconfig.json --watch",
"build": "tsc --project tsconfig.json && tsc --project tsconfig.browser.json && webpack",
"lint": "eslint 'src/**/*.{js,ts}' 'test/**/*.{js,ts}' cucumber.js",
"lint:fix": "eslint 'src/**/*.{js,ts}' 'test/**/*.{js,ts}' --fix",
"pretest": "npm run lint && npm run conformance",
"test": "mocha --require ts-node/register ./test/integration/**/*.ts",
"conformance": "npx downtotemp https://raw.githubusercontent.com/cloudevents/conformance/master/features/http-protocol-binding.feature && cucumber-js /tmp/http-protocol-binding.feature -p default",
"coverage": "nyc --reporter=lcov --reporter=text npm run test",
"coverage-publish": "wget -qO - https://coverage.codacy.com/get.sh | bash -s report -l JavaScript -r coverage/lcov.info",
"generate-docs": "typedoc --excludeNotDocumented --out docs src",
"release": "standard-version",
"prepublishOnly": "npm run build"
},
"files": [
"dist",
"bundles"
],
"standard-version": {
"scripts": {
"postcommit": "git commit --amend --signoff --no-edit"
},
"types": [
{
"type": "feat",
"section": "Features",
"hidden": false
},
{
"type": "fix",
"section": "Bug Fixes",
"hidden": false
},
{
"type": "docs",
"section": "Documentation",
"hidden": false
},
{
"type": "chore",
"section": "Miscellaneous",
"hidden": false
},
{
"type": "src",
"section": "Miscellaneous",
"hidden": false
},
{
"type": "style",
"section": "Miscellaneous",
"hidden": false
},
{
"type": "refactor",
"section": "Miscellaneous",
"hidden": false
},
{
"type": "perf",
"section": "Performance",
"hidden": false
},
{
"type": "test",
"section": "Tests",
"hidden": false
}
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/cloudevents/sdk-javascript.git"
},
"keywords": [
"events",
"cloudevents",
"sdk",
"javascript",
"cncf"
],
"author": "cloudevents.io",
"contributors": [
{
"name": "Fábio José de Moraes",
"email": "fabiojose@gmail.com",
"url": "https://github.com/fabiojose"
}
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/cloudevents/sdk-javascript/issues"
},
"homepage": "https://github.com/cloudevents/sdk-javascript#readme",
"dependencies": {
"ajv": "~6.12.3",
"uuid": "~8.3.0"
},
"devDependencies": {
"@types/ajv": "^1.0.0",
"@types/axios": "^0.14.0",
"@types/chai": "^4.2.11",
"@types/cucumber": "^6.0.1",
"@types/got": "^9.6.11",
"@types/mocha": "^7.0.2",
"@types/node": "^14.14.10",
"@types/superagent": "^4.1.10",
"@types/uuid": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^3.4.0",
"@typescript-eslint/parser": "^3.4.0",
"chai": "~4.2.0",
"cucumber": "^6.0.5",
"cucumber-pretty": "^6.0.0",
"cucumber-tsflow": "^3.2.0",
"downtotemp": "^0.1.2",
"eslint": "^7.3.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.4",
"got": "^11.7.0",
"http-parser-js": "^0.5.2",
"mocha": "~8.2.0",
"nock": "~12.0.3",
"nyc": "~15.0.0",
"prettier": "^2.0.5",
"standard-version": "^9.0.0",
"superagent": "^6.1.0",
"ts-node": "^8.10.2",
"typedoc": "^0.20.24",
"typedoc-clarity-theme": "~1.1.0",
"typescript": "^3.8.3",
"webpack": "^5.1.1",
"webpack-cli": "^4.0.0"
},
"publishConfig": {
"access": "public"
},
"types": "./dist/index.d.ts"
}