-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 1.46 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 1.46 KB
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
{
"name": "mock",
"version": "1.0.0",
"description": "Mock your friends",
"main": "src/server.ts",
"scripts": {
"format:check": "prettier --check 'src/**/*.ts'",
"format:fix": "prettier --write 'src/**/*.ts'",
"lint": "tslint -c tslint.json 'src/**/*.ts'",
"lint:fix": "tslint --fix -c tslint.json 'src/**/*.ts'",
"start": "npm run start:dev",
"start:prod": "node ./dist/server.js",
"start:dev": "nodemon --watch 'src/**/*.ts' --ignore 'src/**/*.spec.ts' --exec 'ts-node' src/server.ts",
"test": "mocha -r ts-node/register ./src/**/*.spec.ts",
"test:watch": "mocha -r ts-node/register ./src/**/*.spec.ts --watch",
"tsc": "tsc"
},
"author": "",
"license": "ISC",
"dependencies": {
"@slack/web-api": "^5.0.1",
"@types/express": "^4.16.1",
"axios": "^0.18.1",
"body-parser": "^1.18.3",
"express": "^4.16.4",
"typescript": "^3.4.5"
},
"devDependencies": {
"@types/chai": "^4.1.7",
"@types/mocha": "^5.2.6",
"@types/node": "^12.0.2",
"chai": "^4.2.0",
"husky": "^2.3.0",
"lint-staged": "^8.1.7",
"mocha": "^6.1.4",
"nodemon": "^1.19.0",
"prettier": "1.17.1",
"ts-node": "^8.1.0",
"tslint": "^5.16.0",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.0.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts, spec.ts, css,json,md}": [
"npm run lint",
"git add"
]
}
}