forked from tonaljs/tonal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 1.92 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
75
76
77
78
79
80
{
"name": "tonal-workspace",
"private": true,
"workspaces": [
"packages/*"
],
"main": "packages/tonal/dist/index.js",
"module": "packages/tonal/dist/index.mjs",
"types": "packages/tonal/dist/index.d.ts",
"scripts": {
"lerna": "lerna bootstrap",
"release": "yarn test:ci && lerna publish",
"build:all": "yarn build:clean && yarn lerna && yarn build",
"build": "turbo run build",
"build:clean": "lerna exec --parallel -- rimraf dist/",
"format": "prettier --write packages/**/*.ts packages/**/package.json",
"test": "jest --coverage",
"lint": "tslint --fix --project tsconfig.json -t codeFrame 'packages/**/*.ts'",
"test:ci": "yarn format && yarn lint && yarn build:all && yarn test -- --no-cache"
},
"prettier": {},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"packages/**/*.ts": [
"prettier --write",
"tslint -p tsconfig.json"
]
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "test.ts$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/",
".*\\.d\\.ts"
],
"coverageThreshold": {
"global": {
"branches": 85,
"functions": 90,
"lines": 95,
"statements": 95
}
},
"collectCoverageFrom": [
"**/*.ts"
]
},
"devDependencies": {
"@types/jest": "^28.1.6",
"@types/node": "^18.0.6",
"esbuild": "^0.14.49",
"husky": "^4.2.5",
"jest": "^28.1.3",
"jest-config": "^28.1.3",
"lerna": "^3.21.0",
"lint-staged": "^13.0.3",
"lodash": "^4.17.15",
"prettier": "^2.7.1",
"rimraf": "^3.0.0",
"ts-jest": "^28.0.7",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"tsup": "^6.1.3",
"turbo": "^1.3.4",
"typescript": "^4.7.4"
}
}