-
Notifications
You must be signed in to change notification settings - Fork 81
/
package.json
76 lines (76 loc) · 2.83 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
{
"private": false,
"version": "0.4.0-beta.39",
"workspaces": [
"packages/*"
],
"scripts": {
"postinstall": "npm run build",
"dev": "ts-node --project ./tsconfig.node.json ./scripts/dev.ts",
"dev:mod": "ts-node --project ./tsconfig.node.json ./scripts/dev-mod.ts",
"build": "npm run build:mod && npm run build:bundle && npm run build:min",
"build:bundle": "ts-node --project ./tsconfig.node.json ./scripts/build-bundle.ts",
"build:mod": "ts-node --project ./tsconfig.node.json ./scripts/build-module.ts",
"build:min": "ts-node --project ./tsconfig.node.json ./scripts/minify.ts",
"snapshot": "npm run build:bundle && ts-node --project ./tsconfig.node.json ./scripts/snapshot.ts",
"e2e": "jest --config jest.e2e.config.js",
"clear": "rm -rf node_modules/ && rm -rf ./packages/*/dist/ && rm -rf ./packages/*/esm/ && rm -rf ./packages/*/node_modules/",
"jest": "jest --config jest.config.js",
"jest:update": "jest --update-snapshot --config jest.config.js",
"cover": "jest --config jest.cover.js",
"beforetest": "npm run build",
"test": "npm run jest",
"serve": "http-server ./",
"lint": "eslint --fix --ext .ts packages/*/src/**",
"precommit": "npm run lint",
"prepush": "npm run lint",
"clear:jest": "rm -rf ./packages/*/__tests__/__snapshots__",
"version:reset": "ts-node --project ./tsconfig.node.json ./scripts/upgrade-version.ts",
"version:reset-for-release": "ts-node --project ./tsconfig.node.json ./scripts/upgrade-version.ts --for-release",
"upgrade:version": "npm run version:reset && pnpm i"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/preset-typescript": "^7.24.7",
"@rollup/plugin-json": "^6.1.0",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.12",
"@types/koa-compose": "^3.2.8",
"@types/node": "^22.1.0",
"@types/serve-handler": "^6.1.4",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@vitejs/plugin-react": "^4.3.1",
"babel-jest": "^29.7.0",
"chalk": "^5.3.0",
"dotenv": "^16.4.5",
"enquirer": "^2.4.1",
"esbuild": "^0.23.0",
"eslint": "^9.8.0",
"execa": "^9.3.0",
"fs-extra": "^11.2.0",
"glob": "^11.0.0",
"http-server": "^14.1.1",
"husky": "^9.1.4",
"jest": "^29.7.0",
"jest-canvas-mock": "^2.5.2",
"jest-environment-jsdom": "^29.7.0",
"jimp": "^0.22.12",
"koa-compose": "^4.1.0",
"less": "^4.2.0",
"pixelmatch": "^6.0.0",
"pngjs": "^7.0.0",
"puppeteer": "^22.6.4",
"rollup": "^4.20.0",
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-esbuild": "^6.1.1",
"serve-handler": "^6.1.5",
"terser": "^5.31.3",
"ts-morph": "^23.0.0",
"ts-node": "^10.9.2",
"tslib": "^2.6.3",
"typescript": "^5.5.4",
"vite": "^5.3.5"
}
}