/
package.json
138 lines (138 loc) · 3.97 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "statofu",
"version": "0.0.0-semantic-release",
"author": "CgL",
"license": "MIT",
"description": "Predictable state changes at a low cost. Framework-agnostic, fast, and small.",
"keywords": [
"statofu",
"redux",
"react",
"recoil",
"mobx",
"state",
"management",
"predictable",
"functional"
],
"homepage": "https://github.com/statofu/statofu",
"bugs": {
"url": "https://github.com/statofu/statofu/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/statofu/statofu.git"
},
"engines": {
"node": ">=16"
},
"main": "dist/statofu.cjs.min.js",
"module": "dist/statofu.esm.min.js",
"types": "dist/index.d.ts",
"jsdelivr": "dist/statofu.umd.min.js",
"unpkg": "dist/statofu.umd.min.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"module": "./dist/statofu.esm.min.js",
"default": "./dist/statofu.cjs.min.js"
},
"./esm": {
"types": "./dist/index.d.ts",
"default": "./dist/statofu.esm.min.js"
},
"./umd": {
"types": "./dist/index.d.ts",
"default": "./dist/statofu.umd.min.js"
},
"./cjs": {
"types": "./dist/index.d.ts",
"default": "./dist/statofu.cjs.min.js"
},
"./ssr": {
"types": "./dist/ssr/index.d.ts",
"module": "./dist/statofu-ssr.esm.min.js",
"default": "./dist/statofu-ssr.cjs.min.js"
},
"./ssr/esm": {
"types": "./dist/ssr/index.d.ts",
"default": "./dist/statofu-ssr.esm.min.js"
},
"./ssr/umd": {
"types": "./dist/ssr/index.d.ts",
"default": "./dist/statofu-ssr.umd.min.js"
},
"./ssr/cjs": {
"types": "./dist/ssr/index.d.ts",
"default": "./dist/statofu-ssr.cjs.min.js"
},
"./package.json": "./package.json",
"./src/*": "./src/*.ts",
"./src/*.ts": "./src/*.ts"
},
"files": [
"dist",
"ssr",
"src",
"!**/*.test*"
],
"scripts": {
"build-all": "run-s \"build:**\"",
"build:types": "tsc -p additional-configs/tsconfig.types.json",
"build:cjs": "rollup --bundleConfigAsCjs -c -f cjs",
"build:esm": "rollup --bundleConfigAsCjs -c -f esm",
"build:umd": "rollup --bundleConfigAsCjs -c -f umd",
"unittest": "cross-env TYPE=unittest jest",
"typetest": "tsd -f \"src/**/*.test-d.ts\"",
"e2e": "cross-env TYPE=e2e jest",
"serve": "npx -y serve@14 -p 3030",
"verdaccio": "npx -y verdaccio@5 -c verdaccio/config.yml",
"lint-all": "run-p \"lint:**\"",
"lint:tsc": "tsc",
"lint:eslint": "eslint \"**/*\"",
"lint:prettier": "prettier --check \"**/*\"",
"fix-all": "run-s \"fix:**\"",
"fix:eslint": "eslint --fix \"**/*\"",
"fix:prettier": "prettier --write \"**/*\"",
"git-clean": "git clean -d -f -x -e node_modules -e package-lock.json",
"git-hooks-install": "husky install",
"prepare": "run-s git-hooks-install"
},
"devDependencies": {
"@commitlint/config-conventional": "^17.6.3",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.1.0",
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/cross-spawn": "^6.0.2",
"@types/jest": "^29.5.0",
"@types/kill-port": "^2.0.0",
"@types/lodash": "^4.14.195",
"@types/node": ">=16",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"cross-env": "^7.0.3",
"cross-spawn": "^7.0.3",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-yaml": "^0.5.0",
"expect-puppeteer": "^8.0.5",
"glob": "^10.3.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-extended": "^3.2.4",
"jest-puppeteer": "^8.0.6",
"kill-port": "^2.0.1",
"lodash": "^4.17.21",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.7",
"puppeteer": "^19.11.1",
"rollup": "^3.20.2",
"tree-kill": "^1.2.2",
"ts-jest": "^29.1.0",
"tsd": "^0.28.1",
"tslib": "^2.5.0",
"typescript": "^5.0.3"
}
}