migrate build script to vite
This commit is contained in:
parent
f87704b2ef
commit
2d8fa591cf
@ -76,7 +76,7 @@
|
|||||||
"start": "run-p templater serve svelte-check-watch typesafe-i18n",
|
"start": "run-p templater serve svelte-check-watch typesafe-i18n",
|
||||||
"templater": "cross-env ./templater.sh",
|
"templater": "cross-env ./templater.sh",
|
||||||
"serve": "cross-env vite --host",
|
"serve": "cross-env vite --host",
|
||||||
"build": "cross-env TS_NODE_PROJECT=\"tsconfig-for-webpack.json\" NODE_ENV=production webpack",
|
"build": "cross-env vite build",
|
||||||
"build-typings": "cross-env TS_NODE_PROJECT=\"tsconfig-for-webpack.json\" NODE_ENV=production BUILD_TYPINGS=1 webpack",
|
"build-typings": "cross-env TS_NODE_PROJECT=\"tsconfig-for-webpack.json\" NODE_ENV=production BUILD_TYPINGS=1 webpack",
|
||||||
"test": "cross-env TS_NODE_PROJECT=\"tsconfig-for-jasmine.json\" ts-node node_modules/jasmine/bin/jasmine --config=jasmine.json",
|
"test": "cross-env TS_NODE_PROJECT=\"tsconfig-for-jasmine.json\" ts-node node_modules/jasmine/bin/jasmine --config=jasmine.json",
|
||||||
"lint": "node_modules/.bin/eslint src/ tests/ --ext .ts,.svelte",
|
"lint": "node_modules/.bin/eslint src/ tests/ --ext .ts,.svelte",
|
||||||
|
Loading…
Reference in New Issue
Block a user