forked from tonaljs/tonal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 1.8 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
{
"name": "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": {
"publish-packages": "yarn test:ci && changeset version && changeset publish",
"build": "turbo run build",
"format": "prettier --write packages/**/*.ts packages/**/package.json",
"test": "jest --coverage",
"lint": "eslint 'packages/**/*.ts'",
"lint:fix": "eslint 'packages/**/*.ts' --fix",
"test:ci": "yarn format && yarn lint && yarn build && yarn test -- --no-cache",
"doc": "yarn typedoc",
"prepare": "husky install"
},
"prettier": {},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module",
"project": "./tsconfig.json"
},
"ignorePatterns": [
"packages/**/dist/*"
]
},
"lint-staged": {
"packages/**/*.ts": [
"prettier --write",
"eslint 'packages/**/*.ts'"
]
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node"
},
"devDependencies": {
"@changesets/cli": "^2.26.1",
"@types/jest": "^29.5.2",
"@types/node": "^20.10.1",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"esbuild": "^0.19.6",
"eslint": "^8.54.0",
"husky": "^8.0.0",
"jest-config": "^29.5.0",
"jest": "^29.5.0",
"lint-staged": "^15.1.0",
"lodash": "^4.17.15",
"prettier": "^3.1.0",
"ts-jest": "^29.1.0",
"tsup": "^8.0.0",
"turbo": "^1.10.3",
"typedoc": "^0.25.4",
"typescript": "^5.2.2"
}
}