-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
108 lines (108 loc) · 3.28 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "@vivocha/bot-sdk",
"version": "5.0.0",
"description": "Vivocha Bot SDK: TypeScript / JavaScript SDK to create/integrate chatbots with the Vivocha platform",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"clean": "npx rimraf dist coverage .nyc_output uploads",
"clean:all": "npm run clean && rimraf node_modules",
"build": "tsc",
"build:examples": "(cd examples/lambda-bot-manager && npm i && npm run build) && (cd examples/lambda-bot-filter && npm i && npm run build) && (tsc -p examples)",
"build:tests": "tsc -p test",
"build:all": "npm i && npm run build && npm run build:tests && npm run build:examples",
"commit": "git-cz",
"check-coverage": "./node_modules/.bin/nyc check-coverage ",
"report-coverage": "cat ./coverage/lcov.info | coveralls",
"watch:test": "npm t -- -w",
"test": "find ./test/ts -type f -name '*.js' -delete && npm run build:tests && mocha --exit --no-timeouts --recursive --reporter mochawesome --reporter-options reportDir=test-results test/**/*.test.js",
"test:debug": "npm run build && tsc -p test && mocha --inspect-brk --recursive test/**/*.test.js",
"cover": "./node_modules/.bin/nyc --reporter=lcov --reporter=text npm t",
"semantic-release": "semantic-release",
"semantic-release-dry": "semantic-release --dry-run"
},
"repository": {
"type": "git",
"url": "https://github.com/vivocha/bot-sdk.git"
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"author": "Vivocha Development Team <dev@vivocha.com> (https://www.vivocha.com)",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/chai": "^4.2.14",
"@types/chai-as-promised": "7.1.3",
"@types/chai-spies": "1.0.2",
"@types/lodash": "^4.14.165",
"@types/mocha": "^8.0.4",
"@types/node": "^13.9.1",
"@types/request": "^2.48.5",
"@types/request-promise-native": "^1.0.17",
"@types/uuid": "^7.0.2",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-spies": "^1.0.0",
"commitizen": "^4.0.3",
"coveralls": "^3.1.0",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^8.2.0",
"got": "^11.8.0",
"husky": "^4.3.0",
"mocha": "^8.2.1",
"mochawesome": "^6.2.1",
"multer": "^1.4.2",
"nyc": "^15.1.0",
"pem-promise": "^1.0.0",
"prettier": "^2.1.2",
"request": "^2.88.2",
"semantic-release": "^17.2.2",
"typescript": "^4.0.5"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"dependencies": {
"@vivocha/public-types": "1.2.1",
"arrest": "8.1.5",
"lodash": "^4.17.15",
"node-wit": "6.0.0",
"request-promise-native": "1.0.8",
"serverless-http": "2.3.2",
"uuid": "7.0.2"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "npm run build && npm run cover && npm run check-coverage"
}
},
"nyc": {
"lines": 90,
"statements": 90,
"functions": 80,
"branches": 60,
"include": [
"dist/**/*.js",
"src/**/*.ts"
],
"extension": [
".js",
".ts"
],
"exclude": [
"**/test"
],
"reporter": [
"lcov",
"text"
],
"sourceMap": true
}
}