idraw/package.json

75 lines
2.6 KiB
JSON
Raw Permalink Normal View History

2021-05-23 12:16:15 +00:00
{
"name": "root",
"private": false,
"scripts": {
2023-02-12 05:34:06 +00:00
"postinstall": "npm run build",
2022-12-31 15:21:57 +00:00
"dev": "vite-node ./scripts/dev.ts",
2023-02-11 10:42:37 +00:00
"dev:mod": "vite-node ./scripts/dev-mod.ts",
2022-02-27 13:17:42 +00:00
"build": "npm run build:mod && npm run build:bundle && npm run build:min",
2022-12-31 15:21:57 +00:00
"build:bundle": "vite-node ./scripts/build-bundle.ts",
"build:mod": "vite-node ./scripts/build-module.ts",
"build:min": "vite-node ./scripts/minify.ts",
"snapshot": "npm run build:bundle && vite-node ./scripts/snapshot.ts",
2023-02-12 05:34:06 +00:00
"e2e": "jest --config jest.e2e.config.js",
2021-08-22 08:46:08 +00:00
"init": "lerna bootstrap",
"init:cnpm": "lerna bootstrap --npm-client=cnpm",
2022-12-31 09:42:21 +00:00
"clear": "rm -rf node_modules/ && rm -rf ./packages/*/dist/ && rm -rf ./packages/*/esm/ && rm -rf ./packages/*/node_modules/",
2021-05-23 12:16:15 +00:00
"jest": "jest --config jest.config.js",
"jest:update": "jest --update-snapshot --config jest.config.js",
"cover": "jest --config jest.cover.js",
2021-06-09 06:42:32 +00:00
"beforetest": "lerna bootstrap --no-ci && npm run build",
2023-02-12 06:44:56 +00:00
"test": "npm run jest",
2021-05-30 09:39:06 +00:00
"serve": "http-server ./",
2021-05-30 09:40:38 +00:00
"lint": "eslint --fix --ext .ts packages/*/src/**",
"precommit": "npm run lint",
2021-06-09 06:42:32 +00:00
"prepush": "npm run lint",
2021-06-10 04:02:08 +00:00
"clear:jest": "rm -rf ./packages/*/__tests__/__snapshots__",
"pu": "pnpm i && npm run build && lerna publish --force-publish",
2022-12-31 15:29:45 +00:00
"pu2": "lerna version && npm run build && lerna publish from-git --force-publish"
2021-05-23 12:16:15 +00:00
},
"devDependencies": {
2023-04-02 04:10:48 +00:00
"@babel/core": "^7.21.4",
"@babel/preset-env": "^7.21.4",
"@babel/preset-typescript": "^7.21.4",
2023-02-12 06:01:56 +00:00
"@rollup/plugin-json": "^6.0.0",
2023-02-25 03:27:41 +00:00
"@types/glob": "^8.1.0",
2023-04-02 04:10:48 +00:00
"@types/jest": "^29.5.0",
2023-02-12 03:39:24 +00:00
"@types/koa-compose": "^3.2.5",
2023-04-02 04:10:48 +00:00
"@types/node": "^18.15.11",
2023-02-12 03:39:24 +00:00
"@types/serve-handler": "^6.1.1",
2023-04-02 04:10:48 +00:00
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"babel-jest": "^29.5.0",
2022-12-31 15:21:57 +00:00
"canvas": "^2.11.0",
"chalk": "^5.2.0",
2022-01-03 08:50:03 +00:00
"enquirer": "^2.3.6",
2023-04-02 04:10:48 +00:00
"esbuild": "^0.17.15",
"eslint": "^8.37.0",
"execa": "^7.1.1",
"fs-extra": "^11.1.1",
"glob": "^9.3.2",
2022-12-31 15:21:57 +00:00
"http-server": "^14.1.1",
2023-02-12 05:34:06 +00:00
"husky": "^8.0.3",
2023-04-02 04:10:48 +00:00
"jest": "^29.5.0",
"jest-canvas-mock": "^2.5.0",
"jest-environment-jsdom": "^29.5.0",
2023-02-25 03:27:41 +00:00
"jimp": "^0.22.7",
2021-05-23 12:16:15 +00:00
"koa-compose": "^4.1.0",
2023-04-02 04:10:48 +00:00
"lerna": "^6.6.1",
2022-12-31 15:21:57 +00:00
"pixelmatch": "^5.3.0",
2023-02-25 03:27:41 +00:00
"pngjs": "^7.0.0",
2023-04-02 04:10:48 +00:00
"puppeteer": "^19.8.2",
"rollup": "^3.20.2",
"rollup-plugin-dts": "^5.3.0",
2023-02-12 06:01:56 +00:00
"rollup-plugin-esbuild": "^5.0.0",
2022-12-31 15:21:57 +00:00
"serve-handler": "^6.1.5",
2023-04-02 04:10:48 +00:00
"terser": "^5.16.8",
"ts-morph": "^18.0.0",
2022-12-31 15:21:57 +00:00
"ts-node": "^10.9.1",
2023-02-12 05:34:06 +00:00
"tslib": "^2.5.0",
2023-04-02 04:10:48 +00:00
"typescript": "^5.0.3",
"vite": "^4.2.1",
"vite-node": "^0.29.8"
2021-05-23 12:16:15 +00:00
}
}