npm update

This commit is contained in:
AsukaMinato 2022-06-18 06:23:41 +00:00 committed by GitHub
parent ea4a3d4d19
commit 83cf3e7091
3 changed files with 313 additions and 223 deletions

519
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -11,6 +11,8 @@
"devDependencies": {
"@rollup/plugin-commonjs": "^17.0.0",
"@rollup/plugin-node-resolve": "^11.0.0",
"@rollup/plugin-typescript": "^8.0.0",
"@tsconfig/svelte": "^2.0.1",
"rollup": "^2.3.4",
"rollup-plugin-css-only": "^3.1.0",
"rollup-plugin-livereload": "^2.0.0",
@ -19,10 +21,8 @@
"svelte": "^3.0.0",
"svelte-check": "^2.0.0",
"svelte-preprocess": "^4.0.0",
"@rollup/plugin-typescript": "^8.0.0",
"typescript": "^4.0.0",
"tslib": "^2.0.0",
"@tsconfig/svelte": "^2.0.0"
"typescript": "^4.0.0"
},
"dependencies": {
"sirv-cli": "^1.0.0"

View File

@ -20,8 +20,8 @@ function serve() {
writeBundle() {
if (server) return;
server = require('child_process').spawn('npm', ['run', 'start', '--', '--dev'], {
// stdio: ['ignore', 'inherit', 'inherit'],
// shell: true
// stdio: ['ignore', 'inherit', 'inherit'],
// shell: true
});
process.on('SIGTERM', toExit);
@ -61,7 +61,8 @@ export default {
}),
commonjs(),
typescript({
sourceMap: !production,
sourceMap: true,
//sourceMap: !production,
inlineSources: !production
}),
@ -78,7 +79,7 @@ export default {
production && terser()
],
watch: {
buildDelay: 500,
buildDelay: 500,
clearScreen: false
}
};