Browse Source

chore: add pre script

feat-css-var
tangjinzhou 3 years ago
parent
commit
ff3eefa0de
  1. 8
      package.json

8
package.json

@ -29,8 +29,12 @@
"typings/global.d.ts" "typings/global.d.ts"
], ],
"scripts": { "scripts": {
"predev": "node node_modules/esbuild/install.js", "predev": "npm run version && node node_modules/esbuild/install.js",
"dev": "npm run version && yarn predev && yarn routes && vite serve site", "precompile": "npm run version",
"pretest": "npm run version",
"predist": "npm run version",
"presite": "npm run version",
"dev": "yarn predev && yarn routes && vite serve site",
"test": "cross-env NODE_ENV=test jest --config .jest.js", "test": "cross-env NODE_ENV=test jest --config .jest.js",
"compile": "node antd-tools/cli/run.js compile", "compile": "node antd-tools/cli/run.js compile",
"generator-webtypes": "tsc -p antd-tools/generator-types/tsconfig.json && node antd-tools/generator-types/index.js", "generator-webtypes": "tsc -p antd-tools/generator-types/tsconfig.json && node antd-tools/generator-types/index.js",

Loading…
Cancel
Save