-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
54 lines (54 loc) · 1.54 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
{
"name": "healthvet",
"private": true,
"devDependencies": {
"@types/prettier": "1.16.1",
"@types/react": "16.8.5",
"@types/react-dom": "16.8.2",
"@types/rimraf": "^2.0.2",
"@types/styled-components": "4.1.10",
"husky": "1.3.1",
"lerna": "3.13.0",
"lint-staged": "8.1.4",
"now": "^14.0.0",
"npm-run-all": "4.1.5",
"prettier": "1.16.4",
"rimraf": "^2.6.3",
"tslint": "5.13.0",
"tslint-config-prettier": "1.18.0",
"tslint-eslint-rules": "5.4.0",
"tslint-loader": "3.6.0",
"tslint-plugin-prettier": "2.0.1",
"tslint-react": "3.6.0",
"typescript": "3.3.3333"
},
"scripts": {
"bootstrap": "yarn && yarn run dist",
"clean": "npm run clean:build && npm run clean:node",
"clean:build": "lerna exec -- rimraf dist",
"clean:node": "lerna exec -- rimraf node_modules",
"clean:lerna": "rimraf node_modules",
"dist": "lerna run dist && lerna run build",
"start": "lerna run start --parallel",
"lint": "npm run lint:ts && echo 'tslint check: OK'",
"lint:ts": "tslint --project ./tsconfig.json",
"prettier": "prettier --write --config .prettierrc \"**/*.{js,jsx,ts,tsx,json,css,scss,md,yaml,yml}\"",
"deploy": "now",
"now-build": "yarn run bootstrap && lerna run now-build",
"generate": "lerna run generate"
},
"workspaces": [
"packages/*"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json,css,scss,md,yaml,yml}": [
"npm run prettier",
"git add"
]
}
}