-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
93 lines (93 loc) · 3.04 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
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "sigi",
"version": "0.0.0",
"description": "Well designed effect management framework for complex frontend app",
"repository": "[email protected]:sigi-framework/sigi.git",
"author": "[email protected]",
"license": "MIT",
"private": true,
"workspaces": [
"packages/*",
"examples"
],
"scripts": {
"build": "run-s build:esm build:next build:cjs build:es2015 clean:tests",
"build:es2015": "tsc -b ./configs/tsconfig.es2015.json",
"build:esm": "tsc -b ./configs/tsconfig.project.json",
"build:next": "tsc -b ./configs/tsconfig.next.json",
"build:cjs": "rollup --config ./configs/rollup.config.mjs",
"clean": "shx rm -rf ./packages/**/*.tsbuildinfo && shx rm -rf ./packages/**/{esm,dist,next,es2015}",
"clean:tests": "shx rm -rf './packages/**/{esm,next}/**/__tests__'",
"lint": "oxlint --import-plugin -A no-this-alias",
"format": "run-p format:md format:json format:source format:yml",
"format:json": "prettier --parser json --write '**/*.json'",
"format:md": "prettier --parser markdown --write './*.md' './{examples,packages}/**/*.md'",
"format:source": "prettier --config ./package.json './{examples,packages}/**/*.{ts,tsx,js}' --write",
"format:yml": "prettier --parser yaml --write './*.{yml,yaml}'",
"test": "jest --config ./configs/jest.config.js --no-cache --detectOpenHandles",
"test:type": "tsc -b ./configs/tsconfig.type-test.json -verbose",
"start:example": "node example"
},
"devDependencies": {
"@abraham/reflection": "^0.12.0",
"@commitlint/cli": "^19.2.2",
"@commitlint/config-conventional": "^19.2.2",
"@commitlint/config-lerna-scopes": "^19.0.0",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.0",
"@types/node": "^22.0.0",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"@types/react-test-renderer": "^19.0.0",
"@types/sinon": "^17.0.3",
"codecov": "^3.8.3",
"husky": "^9.0.11",
"immer": "^10.0.4",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lerna": "^8.1.2",
"lint-staged": "^15.2.2",
"lodash": "^4.17.21",
"npm-run-all2": "^7.0.0",
"oxlint": "^0.15.0",
"prettier": "^3.2.5",
"process": "^0.11.10",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rollup": "^4.16.1",
"rollup-plugin-sourcemaps": "^0.6.3",
"rxjs": "^7.8.1",
"shx": "^0.3.4",
"sinon": "^19.0.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"vue": "2"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
"prettier --write",
"eslint -c .eslintrc.yml --fix"
],
"*.@(yml|yaml)": [
"prettier --parser yaml --write"
],
"*.md": [
"prettier --parser markdown --write"
],
"*.json": [
"prettier --parser json --write"
]
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always",
"parser": "typescript"
},
"packageManager": "[email protected]"
}