mirror of
https://github.com/PaiGramTeam/luoxu-api-pub.git
synced 2024-11-25 09:27:40 +00:00
npm update
This commit is contained in:
parent
ea4a3d4d19
commit
83cf3e7091
519
package-lock.json
generated
519
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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,12 +21,10 @@
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user