mirror of
https://github.com/locomotivemtl/locomotive-boilerplate.git
synced 2026-01-15 00:55:08 +08:00
* Update NPM constraint and dependencies Requied: - NPM v8 → v10 Changed: - Fixed Node/NPM requirements in README. - Fixed dependency vulenerabilities. - Updated dependencies. - Removed obsolete Node flag `--experimental-json-modules`. - Replaced obsolete import `assert` keyword with `with`. * Update gitignore of assets to use wildcards --------- Co-authored-by: Deven Caron <devencaron@gmail.com>
49 lines
1.2 KiB
JSON
49 lines
1.2 KiB
JSON
{
|
|
"private": true,
|
|
"name": "@locomotivemtl/boilerplate",
|
|
"title": "Locomotive Boilerplate",
|
|
"version": "1.0.0",
|
|
"author": "Locomotive <info@locomotive.ca>",
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=20",
|
|
"npm": ">=10"
|
|
},
|
|
"scripts": {
|
|
"start": "node --no-warnings build/watch.js",
|
|
"build": "node --no-warnings build/build.js"
|
|
},
|
|
"dependencies": {
|
|
"locomotive-scroll": "^5.0.0-beta.13",
|
|
"modujs": "^1.4.2",
|
|
"modularload": "^1.2.6",
|
|
"svg4everybody": "^2.1.9"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "^10.4.19",
|
|
"browser-sync": "^3.0.2",
|
|
"common-path": "^1.0.1",
|
|
"concat": "^1.0.3",
|
|
"esbuild": "^0.21.5",
|
|
"kleur": "^4.1.5",
|
|
"node-notifier": "^10.0.1",
|
|
"postcss": "^8.4.38",
|
|
"purgecss": "^6.0.0",
|
|
"sass": "^1.77.6",
|
|
"svg-mixer": "^2.3.14",
|
|
"tiny-glob": "^0.2.9"
|
|
},
|
|
"overrides": {
|
|
"browser-sync": {
|
|
"ua-parser-js": "^1.0.33"
|
|
},
|
|
"svg-mixer": {
|
|
"micromatch": "^4.0.4",
|
|
"postcss": "^8.4.38"
|
|
},
|
|
"svg-mixer-utils": {
|
|
"anymatch": "^3.1.3"
|
|
}
|
|
}
|
|
}
|