mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-20 21:35:42 +02:00
Update package.json to add node engine required version. Downgraded vite to v4
This commit is contained in:
parent
80e96b54f7
commit
99d921d858
9 changed files with 8 additions and 4 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,6 +1,7 @@
|
||||||
# NPM and Yarn
|
# NPM / Yarn / Pnpm
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
yarn-error.log
|
yarn-error.log
|
||||||
|
pnpm-lock.yaml
|
||||||
node_modules/
|
node_modules/
|
||||||
|
|
||||||
# Build artifacts and asset stuff
|
# Build artifacts and asset stuff
|
||||||
|
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 127 KiB After Width: | Height: | Size: 127 KiB |
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB |
|
@ -112,7 +112,7 @@ var buildIndex = function(done) {
|
||||||
|
|
||||||
if (process.env.CI) {
|
if (process.env.CI) {
|
||||||
writeFileSync('build/index.html', outputIndex);
|
writeFileSync('build/index.html', outputIndex);
|
||||||
copyRecursiveSync('public/assets', 'build/assets');
|
copyRecursiveSync('assets', 'build/assets');
|
||||||
} else {
|
} else {
|
||||||
writeFileSync('index.html', outputIndex);
|
writeFileSync('index.html', outputIndex);
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
"prompt": "^1.2.2",
|
"prompt": "^1.2.2",
|
||||||
"vinyl-buffer": "^1.0.1",
|
"vinyl-buffer": "^1.0.1",
|
||||||
"vinyl-source-stream": "^2.0.0",
|
"vinyl-source-stream": "^2.0.0",
|
||||||
"vite": "^5.0.12"
|
"vite": "^4.0.12"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"backbone": "^1.4.0",
|
"backbone": "^1.4.0",
|
||||||
|
@ -50,5 +50,8 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"underscore": "^1.13.2"
|
"underscore": "^1.13.2"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": "16.20.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue