-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 3.09 KB
/
package.json
File metadata and controls
93 lines (93 loc) · 3.09 KB
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": "git@github.com:sigi-framework/sigi.git",
"author": "lynweklm@gmail.com",
"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": "vitest run --config ./configs/vitest.config.ts --coverage --reporter=verbose || true",
"test:ci": "vitest run --config ./configs/vitest.config.ts --coverage || exit 0",
"test:type": "tsc -b ./configs/tsconfig.type-test.json -verbose",
"start:example": "node example"
},
"devDependencies": {
"@abraham/reflection": "^0.13.0",
"@commitlint/cli": "^20.0.0",
"@commitlint/config-conventional": "^20.0.0",
"@commitlint/config-lerna-scopes": "^20.0.0",
"@swc/core": "^1.13.5",
"@types/lodash": "^4.17.18",
"@types/node": "^24.5.2",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@types/react-test-renderer": "^19.1.0",
"@types/sinon": "^21.0.0",
"@vitest/coverage-v8": "^3.2.4",
"@vitest/ui": "^3.2.4",
"codecov": "^3.8.3",
"husky": "^9.1.7",
"immer": "^11.0.0",
"jsdom": "^28.0.0",
"lerna": "^9.0.0",
"lint-staged": "^16.1.2",
"lodash": "^4.17.21",
"npm-run-all2": "^8.0.4",
"oxlint": "^1.2.0",
"prettier": "^3.5.3",
"process": "^0.11.10",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"rollup": "^4.44.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rxjs": "^7.8.2",
"shx": "^0.4.0",
"ts-node": "^10.9.2",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"vitest": "^3.2.4",
"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": "yarn@4.13.0"
}