-
Notifications
You must be signed in to change notification settings - Fork 69
/
Copy pathpackage.json
50 lines (50 loc) · 1.17 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
{
"private": true,
"scripts": {
"build": "tsc -b packages",
"build:watch": "tsc -b packages -w",
"clean:build": "lerna exec -- rimraf lib",
"test": "mocha --require ts-node/register --recursive \"packages/*/test/**/*.ts\"",
"test:watch": "mocha -w --require ts-node/register --recursive \"packages/*/test/**/*.ts\"",
"lint": "eslint --ext ts packages/*/src"
},
"lint-staged": {
"*.ts": [
"npx import-sort-cli --write",
"prettier --write",
"eslint --fix",
"git add"
],
"*.{json,md}": [
"prettier --write",
"git add"
]
},
"workspaces": {
"packages": [
"packages/*"
]
},
"devDependencies": {
"@types/chai": "^4.1.4",
"@types/mocha": "^5.2.3",
"@types/node": "^10.12.20",
"chai": "^4.1.2",
"husky": "^1.3.1",
"import-sort": "^6",
"import-sort-cli": "^6",
"import-sort-parser-babylon": "^6",
"import-sort-style-module": "^6",
"lerna": "^3.10.7",
"lint-staged": "^8.1.1",
"mocha": "^5.2.0",
"prettier": "^1.13.5",
"ts-node": "^8.0.2",
"typescript": "^3.2.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}