-
-
Notifications
You must be signed in to change notification settings - Fork 635
/
package.json
140 lines (140 loc) · 6.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
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
139
140
{
"name": "inferno-build",
"private": true,
"license": "MIT",
"author": {
"name": "Dominic Gannaway",
"email": "dg@domgan.com"
},
"type": "module",
"bugs": {
"url": "https://github.com/infernojs/inferno/issues"
},
"homepage": "https://github.com/infernojs/inferno#readme",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/infernojs/inferno.git"
},
"pre-commit": {
"silent": true,
"run": [
"lint",
"test"
]
},
"workspaces": [
"packages/inferno",
"packages/inferno-compat",
"packages/inferno-animation",
"packages/inferno-create-element",
"packages/inferno-hydrate",
"packages/inferno-extras",
"packages/inferno-hyperscript",
"packages/inferno-mobx",
"packages/inferno-redux",
"packages/inferno-router",
"packages/inferno-server",
"packages/inferno-shared",
"packages/inferno-clone-vnode",
"packages/inferno-test-utils",
"packages/inferno-utils",
"packages/inferno-vnode-flags"
],
"scripts": {
"clean": "lerna exec -- rimraf dist tmpDist .rpt2_cache_development .rpt2_cache_production package-lock.json",
"coveralls": "coveralls < coverage/lcov.info",
"debug": "node --inspect-brk ./node_modules/jest/bin/jest --runInBand --no-cache --no-watchman",
"docs-build": "cross-env NODE_ENV=production node docs/build.js",
"docs-build:dev": "node docs/build.js",
"prebuild": "npm run clean",
"postbuild": "rimraf build; lerna exec -- rimraf tmpDist",
"build": "npm run clean && tsc --build && npm run build:move-compiled && npm run build:move-types && npm run build:bundle && npm run print:size",
"build:bundle": "lerna exec --stream -- node ../../scripts/rollup/build.js",
"build:move-types": "lerna exec -- node ../../scripts/bundle/move-typedefs.js",
"build:move-compiled": "lerna exec -- node ../../scripts/bundle/move-compiled.js",
"print:size": "node scripts/bundle/bundle-size.js",
"install:browsertest": "cd fixtures/browser && npm install --legacy-peer-deps",
"lint": "eslint packages/* --ext .js --ext .ts --ext .tsx --ext .jsx",
"lint-staged": "lint-staged",
"publish": "lerna publish --exact --force-publish=*",
"alpha": "lerna publish prerelease --dist-tag next --exact --force-publish=*",
"version": "npm run build && npm run docs-build && git add docs && npm run test",
"postinstall": "run-p install:* && npm run build",
"test": "npm run test:node && npm run test:node-nodom && npm run test:browser",
"test:transformers": "cross-env InfernoCompat=0 npm run --prefix fixtures/browser test:swc && npm run --prefix fixtures/browser test:ts && npm run --prefix fixtures/browser test:swc",
"test:node": "cross-env NODE_ENV=test jest --config --no-watchman",
"test:node:debug": "cross-env NODE_ENV=test node --inspect-brk node_modules/jest/bin/jest.js --config --no-watchman --runInBand",
"test:node-nodom": "cross-env NODE_ENV=test jest --config ./jest.config-nodom.js --no-watchman",
"test:coverage": "cross-env NODE_ENV=test jest --runInBand --coverage --no-watchman",
"test:browser": "npm run test:browser:nocompat && npm run test:browser:compat",
"test:browser:compat": "cross-env InfernoCompat=1 npm run --prefix fixtures/browser test:swc",
"test:browser:nocompat": "cross-env InfernoCompat=0 npm run --prefix fixtures/browser test:swc",
"test:browser:debug": "cross-env InfernoCompat=1 npm run --prefix fixtures/browser debug:swc",
"test:browser:debug-nocompat": "cross-env InfernoCompat=0 npm run --prefix fixtures/browser debug:swc",
"test:browser:sauce": "npm run --prefix fixtures/browser test",
"test:react": "npm run --prefix fixtures/react test -- --forceExit",
"test:package": "node fixtures/packaging/build-all.js",
"test:memory": "node --expose-gc scripts/fakedom/uibench-reactlike/start.js",
"test:memory:js-framework": "node --expose-gc scripts/fakedom/js-framework-bench/start.js",
"test:memory:lifecycle": "node --expose-gc scripts/fakedom/uibench-lifecycle/start.js",
"test:memory:lifecycle:debug": "node --inspect-brk --expose-gc scripts/fakedom/uibench-lifecycle/start.js",
"test:memory:js-framework:debug": "node --inspect-brk --expose-gc scripts/fakedom/js-framework-bench/start.js"
},
"devDependencies": {
"@babel/core": "^7.25.8",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/plugin-transform-modules-commonjs": "^7.25.7",
"@babel/preset-env": "7.25.8",
"@babel/preset-typescript": "^7.25.7",
"@rollup/plugin-alias": "^5.1.1",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.3.0",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@swc/core": "1.7.36",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.5.13",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.7.7",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"babel-plugin-inferno": "6.7.2",
"cli-table": "^0.3.11",
"concat-stream": "^2.0.0",
"coveralls-next": "^4.2.1",
"cross-env": "^7.0.3",
"d3-scale-chromatic": "^3.1.0",
"eslint": "^8",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^17.11.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-promise": "^7.1.0",
"filesize": "^10.1.6",
"fs-extra": "^11.2.0",
"gzip-size": "^7.0.0",
"history": "^5.3.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-jasmine2": "^29.7.0",
"jest-silent-reporter": "^0.6.0",
"jsdom": "^25.0.1",
"lerna": "^8",
"lint-staged": "^15.2.10",
"minimist": "^1.2.8",
"mobx": "^6.13.5",
"npm-run-all": "^4.1.5",
"perf-monitor": "^0.6.0",
"pre-commit": "^1.2.2",
"prettier": "^3.3.3",
"rimraf": "^6",
"rollup": "^4.24.0",
"swc": "^1.0.11",
"swc-loader": "^0.2.6",
"swc-plugin-inferno": "^1.0.0",
"ts-plugin-inferno": "^6.1.0",
"typescript": "^5.6.3"
}
}