idraw/package.json
2024-07-07 10:08:37 +08:00

77 lines
2.9 KiB
JSON

{
"private": false,
"version": "0.4.0-beta.32",
"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.24.4",
"@babel/preset-env": "^7.24.4",
"@babel/preset-typescript": "^7.24.1",
"@rollup/plugin-json": "^6.1.0",
"@types/glob": "^8.1.0",
"@types/jest": "^29.5.12",
"@types/koa-compose": "^3.2.8",
"@types/node": "^20.12.7",
"@types/serve-handler": "^6.1.4",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"@vitejs/plugin-react": "^4.2.1",
"babel-jest": "^29.7.0",
"chalk": "^5.3.0",
"dotenv": "^16.4.5",
"enquirer": "^2.4.1",
"esbuild": "^0.20.2",
"eslint": "^9.0.0",
"execa": "^8.0.1",
"fs-extra": "^11.2.0",
"glob": "^10.3.12",
"http-server": "^14.1.1",
"husky": "^9.0.11",
"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": "^5.3.0",
"pngjs": "^7.0.0",
"puppeteer": "^22.6.4",
"rollup": "^4.14.2",
"rollup-plugin-dts": "^6.1.0",
"rollup-plugin-esbuild": "^6.1.1",
"serve-handler": "^6.1.5",
"terser": "^5.30.3",
"ts-morph": "^22.0.0",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"vite": "^5.2.8"
},
"__npminstall_done": false
}