-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
47 lines (47 loc) · 1.24 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
{
"name": "dashboard-api-server",
"version": "0.1.0",
"description": "rest api server for openpitrix dashboard",
"main": "index.js",
"scripts": {
"test": "jest -c jest.config.json",
"docker:image": "docker build -t sunnyw/op-mock-server .",
"docker:cont": "docker run -d --rm --name op-mock-server -p 3000:3000 sunnyw/op-mock-server",
"docker": "npm run pack && npm run docker:image && npm run docker:cont",
"dev": "./run.sh",
"sh": "docker exec -it op-mock-server sh",
"lint": "prettier './{middlewares,mocks,utils,test}/**/*.{js,md}' -l",
"precommit": "lint-staged",
"pack": "webpack --config webpack.config.js --progress"
},
"lint-staged": {
"*.{js,md}": [
"prettier --write",
"git add"
]
},
"keywords": [
"rest",
"api",
"json-server",
"mocking",
"openpitrix"
],
"author": "sunnyw <[email protected]>",
"license": "MIT",
"devDependencies": {
"husky": "^0.14.3",
"jest": "^22.4.4",
"lint-staged": "^7.0.4",
"nodemon": "^1.17.3",
"prettier": "^1.12.1",
"webpack": "^4.8.3",
"webpack-cli": "^2.1.3"
},
"dependencies": {
"express": "^4.16.3",
"faker": "^4.1.0",
"json-server": "^0.12.2",
"lodash": "^4.17.10"
}
}