-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
49 lines (49 loc) · 1.27 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
{
"name": "cowtown",
"version": "0.0.0",
"main": "index.js",
"repository": "[email protected]:cdaringe/cowtown.git",
"author": "cdaringe <[email protected]>",
"license": "MIT",
"private": true,
"scripts": {
"bootstrap": "yarn && lerna bootstrap",
"build": "tsc",
"clean:deps": "for p in $(ls packages/); do echo $p && rm -rf packages/$p/{node_modules,*.lock}; done;",
"test": "lerna exec -- yarn test",
"format": "prettier-standard '{src,test,scripts,packages}/**/*.{js,ts,tsx}'",
"lint": "standardx '{src,test,scripts,scripts}/**/*.{ts,tsx}' --fix"
},
"devDependencies": {
"@types/node": "^12.0.0",
"@typescript-eslint/eslint-plugin": "^2.6.1",
"@typescript-eslint/parser": "^2.6.1",
"husky": "^3.0.9",
"lerna": "^3.13.1",
"lint-staged": "^9.4.2",
"prettier-standard": "^15.0.1",
"standardx": "^5.0.0",
"typescript": "^3.7.2"
},
"lint-staged": {
"{src,test,scripts,packages}/**/*.{ts,tsx}": [
"yarn format",
"yarn lint",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"standardx": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint/eslint-plugin"
],
"ignore": [
"**/*.d.ts"
]
}
}