-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
62 lines (62 loc) · 1.58 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
{
"name": "@acme/monorepo",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"private": true,
"workspaces": [
"packages/**",
"tools"
],
"scripts": {
"start": "npm run build && echo ... to-do",
"prebuild": "npm run clean",
"build": "lerna run build",
"clean": "npm-run-all clean:*",
"clean:cache": "rimraf .build-cache",
"clean:packages": "lerna run clean",
"test": "lerna run test",
"test:watch": "lerna run --parallel test:watch",
"coverage": "lerna run coverage",
"lint": "lerna run lint",
"lint:fix": "lerna run lint:fix",
"pretty:check": "prettier --list-different \"**/*.{css,html,js,json,md,scss,ts}\"",
"pretty:fix": "prettier --write \"**/*.{css,js,html,json,md,scss,ts}\"",
"fix": "npm run lint:fix && npm run pretty:fix",
"link-packages": "lerna link",
"precommit": "lint-staged"
},
"devDependencies": {
"copy-webpack-plugin": "^5.0.2",
"html-webpack-plugin": "^3.2.0",
"husky": "^1.3.1",
"jest": "^24.7.1",
"lerna": "^3.13.2",
"lint-staged": "^8.1.5",
"npm-run-all": "^4.1.5",
"prettier": "^1.16.4",
"raw-loader": "^2.0.0",
"source-map-loader": "^0.2.4",
"ts-loader": "^5.3.3",
"tslint": "^5.15.0",
"typescript": "^3.4.3",
"url-loader": "^1.1.2",
"webpack": "^4.29.6",
"webpack-cli": "^3.3.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{css,html,js,json,md,scss,ts}": [
"prettier --write",
"git add"
],
"*.ts": [
"tslint --fix",
"git add"
]
}
}