-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 3.12 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
{
"name": "dreamstate-project",
"version": "1.0.0",
"description": "Store management library based on context and observers.",
"private": true,
"author": "Syrotenko Igor",
"license": "MIT",
"scripts": {
"purge": "npx rimraf ./node_modules */node_modules */**/node_modules",
"clean": "rimraf ./target",
"typecheck": "tsc --noEmit",
"build:cjs": "rollup -c cli/build/rollup.cjs.config.ts --configPlugin typescript --bundleConfigAsCjs",
"build:esm": "rollup -c cli/build/rollup.esm.config.ts --configPlugin typescript --bundleConfigAsCjs",
"build:dts": "rollup -c cli/build/rollup.dts.config.ts --configPlugin typescript --bundleConfigAsCjs && mv ./target/dist/dts/lib ./target/dist/dts/lib.d.ts",
"build:ptb": "rollup -c cli/build/rollup.esm.portable.config.ts --configPlugin typescript --bundleConfigAsCjs ",
"build": "pnpm build:dts && pnpm build:esm && pnpm build:cjs",
"format": "prettier --write \"**/*.(js|ts|tsx)\" && eslint . --ext .ts,.tsx,.js --fix",
"lint": "eslint . --ext .ts,.tsx,.js",
"test": "jest --config cli/test/jest.config.js --detectOpenHandles",
"pre-deploy": "pnpm clean && pnpm lint && pnpm typecheck && pnpm test -- --coverage && pnpm build && ts-node cli/deploy/prepare.ts",
"deploy": "pnpm pre-deploy && cd ./target/pkg && npm publish",
"deploy:experimental": "pnpm pre-deploy && cd ./target/pkg && npm publish --tag experimental"
},
"devDependencies": {
"@babel/cli": "^7.21.5",
"@babel/core": "^7.21.8",
"@babel/node": "^7.20.7",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.21.0",
"@babel/plugin-transform-modules-commonjs": "^7.21.5",
"@babel/preset-env": "^7.21.5",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.5",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-commonjs": "^25.0.0",
"@rollup/plugin-typescript": "^11.1.1",
"@types/enzyme": "^3.10.13",
"@types/jest": "^29.5.1",
"@types/ncp": "^2.0.5",
"@types/node": "^20.2.3",
"@types/react": "^16.14.41",
"@types/react-dom": "16.9.19",
"@typescript-eslint/eslint-plugin": "^5.59.7",
"@typescript-eslint/parser": "^5.59.7",
"babel-jest": "^28.1.1",
"babel-plugin-macros": "^3.1.0",
"babel-plugin-module-resolver": "^5.0.0",
"cross-env": "^7.0.3",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"enzyme-to-json": "^3.6.2",
"eslint": "^8.41.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-react": "^7.30.2",
"jest": "^27.5.1",
"pnpm": "^8.5.1",
"prettier": "^2.8.8",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"rimraf": "^5.0.1",
"rollup": "^3.23.0",
"rollup-plugin-clear": "^2.0.7",
"rollup-plugin-dts": "^5.3.0",
"rollup-plugin-import-alias": "^1.0.10",
"rollup-plugin-visualizer": "^5.9.0",
"ts-node": "^10.9.1",
"tslib": "^2.5.2",
"typescript": "^5.0.4"
}
}