/
package.json
40 lines (40 loc) · 1.71 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
{
"private": true,
"scripts": {
"build": "yarn use-prod-typings && yarn clean:coverage && yarn clean:dist && lerna run build",
"build-and-qa": "yarn build && yarn qa",
"build:watch": "yarn use-dev-typings && yarn clean:dist && lerna run --parallel build:watch",
"clean": "yarn clean:dist && rimraf packages/*/coverage packages/*/yarn-error.log yarn-error.log lerna-debug.log",
"clean:coverage": "rimraf coverage packages/*/coverage",
"clean:dist": "rimraf packages/*/coverage packages/*/dist packages/*/yarn-error.log yarn-error.log lerna-debug.log",
"clean:full": "yarn clean && rimraf packages/*/node_modules node_modules",
"format:check": "prettier-check --ignore-path .gitignore \"**/{*.js,*.ts,*.md,*.json}\"",
"format": "prettier --write --ignore-path .gitignore \"**/{*.js,*.ts,*.md,*.json}\"",
"lint": "lerna run lint",
"qa": "yarn lint && yarn format:check && yarn test:coverage",
"release": "yarn build-and-qa && lerna publish",
"test": "jest",
"test:coverage": "jest --coverage",
"test-by-package": "lerna run test",
"test-by-package:coverage": "lerna run test:coverage",
"use-dev-typings": "lerna exec \"replace --quiet '\\\"types\\\":(.*),' '\\\"types\\\": \\\"src/index.ts\\\",' package.json\"",
"use-prod-typings": "lerna exec \"replace --quiet '\\\"types\\\":(.*),' '\\\"types\\\": \\\"dist/index.d.ts\\\",' package.json\""
},
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/@types/**"
]
},
"dependencies": {},
"devDependencies": {
"lerna": "^3.4.0",
"prettier": "^1.14.3",
"prettier-check": "^2.0.0",
"prettier-plugin-elm": "^0.4.1",
"replace": "^1.0.0",
"rimraf": "^2.6.2"
}
}