-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
41 lines (41 loc) · 1.52 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
{
"name": "root",
"private": true,
"devDependencies": {
"concurrently": "^6.0.2",
"enquirer": "^2.3.6",
"husky": "1.3.1",
"lerna": "^4.0.0",
"lint-staged": "^10.5.4",
"nodemon": "2.0.3",
"prettier": "1.17.0"
},
"scripts": {
"start": "concurrently --kill-others \"npm:start:server\" \"npm:start:client\" \"npm:watch:svg\"",
"start:server": "cd packages/nota-server && npm start",
"start:client": "cd packages/nota-client && npm start",
"watch:svg": "cd packages/svg-image-annotation && npm run watch",
"start:web": "cd packages/nota-server && npm run start:web",
"start:worker": "cd packages/nota-server && npm run start:worker",
"test": "npm run test:client && npm run test:server",
"test:server": "cd packages/nota-server && npm test",
"test:client": "cd packages/nota-client && npm test",
"postinstall": "lerna exec -- npm install",
"release_minor": "lerna version minor --force-publish -m \"chore(release): publish %s\" --no-changelog --no-commit-hooks --no-push",
"release_patch": "lerna version patch --force-publish -m \"chore(release): publish %s\" --no-changelog --no-commit-hooks --no-push",
"resetdb": "cd packages/nota-server && npm run resetdb",
"seed": "cd packages/nota-server && npm run seed",
"createLocalUser": "node scripts/createLocalUser.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"{*.{js,css,json},www}": [
"node_modules/.bin/prettier --write",
"git add"
]
}
}