Changed:
- Renamed 'mconfig.json' to 'loconfig.json'.
- Renamed 'concat.js' to 'concats.js' to represent flexible functionality.
- loconfig.json: Base paths are nested under "paths".
- loconfig.json: Paths for tasks are nested under "tasks".
- Refactored each task to process corresponding entries under "tasks" in 'loconfig.json'.
- watch.js: Changed concats watch to use task's includes.
Added:
- tiny-glob v0.2.9
- Utility 'glob.js' to use dynamic imports to fetch an available glob function from node modules.
- Utility 'template.js' to provide a function to render template tags (`{% ... %}`) in tasks.
- concats.js: Support for concatenating groupes of files.
- scripts.js: Support for ESBuild's "outdir" option.
35 lines
967 B
JSON
35 lines
967 B
JSON
{
|
|
"private": true,
|
|
"name": "@locomotivemtl/boilerplate",
|
|
"title": "Locomotive Boilerplate",
|
|
"version": "1.0.0",
|
|
"engines": {
|
|
"node": ">=14.17"
|
|
},
|
|
"type": "module",
|
|
"author": "Locomotive <info@locomotive.ca>",
|
|
"scripts": {
|
|
"start": "node --experimental-json-modules --no-warnings build/watch.js",
|
|
"build": "node --experimental-json-modules --no-warnings build/build.js"
|
|
},
|
|
"dependencies": {
|
|
"locomotive-scroll": "*",
|
|
"modujs": "^1.4.2",
|
|
"modularload": "^1.2.6",
|
|
"normalize.css": "*",
|
|
"svg4everybody": "*"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "^10.3.4",
|
|
"browser-sync": "^2.26.13",
|
|
"concat": "^1.0.3",
|
|
"esbuild": "^0.12.28",
|
|
"kleur": "^4.1.4",
|
|
"node-notifier": "^10.0.0",
|
|
"node-sass": "^6.0.1",
|
|
"postcss": "^8.3.6",
|
|
"svg-mixer": "^2.3.14",
|
|
"tiny-glob": "^0.2.9"
|
|
}
|
|
}
|