forked from tonaljs/tonal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 1.72 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
66
67
68
69
70
71
72
73
74
{
"name": "tonal",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"lint": "tslint --fix --project tsconfig.json -t codeFrame 'packages/**/*.ts'",
"lerna": "lerna bootstrap",
"lerna:publish": "yarn build:prod && lerna publish",
"build": "lerna exec -- rollup -c=../../rollup.config.js",
"build:clean": "lerna exec --parallel -- rimraf dist/",
"build:prod": "yarn build:clean && yarn lerna && yarn build",
"test": "jest --coverage",
"test:ci": "yarn lint && yarn build && yarn test -- --no-cache"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"packages/**/*.ts": [
"prettier --write",
"tslint",
"git add"
]
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 95,
"lines": 95,
"statements": 95
}
},
"collectCoverageFrom": [
"**/*.ts"
]
},
"devDependencies": {
"@types/jest": "^24.0.15",
"@types/node": "^12.6.8",
"husky": "^3.0.1",
"jest": "^24.8.0",
"jest-config": "^24.8.0",
"lerna": "^3.16.0",
"lint-staged": "^9.2.0",
"lodash": "^4.17.15",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"rollup": "^1.17.0",
"rollup-plugin-typescript2": "^0.24.0",
"ts-jest": "^24.0.2",
"tslint": "^5.18.0",
"tslint-config-prettier": "^1.18.0",
"typescript": "^3.5.3"
}
}