-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
65 lines (65 loc) · 1.36 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
55
56
57
58
59
60
61
62
63
64
65
{
"private": true,
"license": "MIT",
"scripts": {
"build": "lerna run -- build",
"clean": "lerna run -- clean",
"tests": "jest",
"tests:watch": "jest --watch",
"test": "yarn tests && yarn lint",
"lint": "lerna run -- lint",
"watch": "lerna run --parallel -- watch",
"predeploy": "yarn build && yarn test",
"deploy": "lerna publish --independent"
},
"workspaces": [
"packages/*"
],
"devDependencies": {
"@types/jest": "^24.0.6",
"@types/node": "^11.11.3",
"husky": "^1.3.1",
"jest": "^24.1.0",
"lerna": "^2.11.0",
"lint-staged": "^8.1.5",
"prettier": "^1.6.1",
"ts-jest": "^24.0.0",
"tslint": "^5.10.0",
"tslint-config-prettier": "^1.5.0",
"tslint-plugin-prettier": "^1.3.0",
"typescript": "^3.3.3"
},
"lint-staged": {
"*.ts": [
"tslint --fix -c tslint.json",
"git add"
],
"*.{json}": [
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"prettier": {
"printWidth": 120,
"singleQuote": true,
"parser": "babylon"
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testRegex": "(/__tests__/.*\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"json"
],
"testEnvironment": "node"
}
}