build: Use ES module system
- Update package.json with type - Change eleventy config to use import and export - Add comments for jshint and inspection
This commit is contained in:
parent
1db7faaf18
commit
43de7d86fa
2 changed files with 52 additions and 48 deletions
89
package.json
89
package.json
|
|
@ -1,46 +1,47 @@
|
|||
{
|
||||
"name": "hippie",
|
||||
"version": "0.13.1",
|
||||
"description": "Hippie interweaves preeminent personal interface elements",
|
||||
"keywords": [
|
||||
"hippie",
|
||||
"www site template"
|
||||
],
|
||||
"homepage": "https://quelltext.interaktionsweise.de/interaktionsweise/hippie",
|
||||
"bugs": "https://quelltext.interaktionsweise.de/interaktionsweise/hippie/issues",
|
||||
"license": "MIT",
|
||||
"author": "Stephan Hagedorn <sthag@interaktionsweise.de> (https://karte.interaktionsweise.de)",
|
||||
"main": "",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://quelltext.interaktionsweise.de/interaktionsweise/hippie.git"
|
||||
},
|
||||
"scripts": {
|
||||
"hello": "echo -n \"This is \" && node -p \"process.env.npm_package_name\" | tr '[:lower:]' '[:upper:]'",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"clean": "npm run clean:build & npm run clean:deploy & npm run clean:report & npm run clean:test",
|
||||
"clean:build": "rm -rf build/*",
|
||||
"clean:deploy": "rm -rf deploy/*",
|
||||
"clean:report": "rm -rf report/*",
|
||||
"clean:test": "rm -rf test/*",
|
||||
"style:compile": "sass source/style:build/css --load-path=vendor",
|
||||
"style:deploy": "sass source/style:deploy/css --load-path=vendor",
|
||||
"style:watch": "sass --watch source/style:build/css --load-path=vendor",
|
||||
"build:new": "npm run clean:build && npx @11ty/eleventy && npm run style:compile",
|
||||
"build": "npx @11ty/eleventy && npm run style:compile",
|
||||
"deploy": "npm run clean:deploy && npx @11ty/eleventy --output=deploy --pathprefix=hippie && npm run style:deploy",
|
||||
"serve": "npm run style:watch & npx @11ty/eleventy --serve"
|
||||
},
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"normalize.css": "^8.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@11ty/eleventy": "^3.1.2",
|
||||
"@11ty/eleventy-upgrade-help": "^3.0.2",
|
||||
"bootstrap-icons": "^1.13.1",
|
||||
"hippie-script": "git+https://quelltext.interaktionsweise.de/interaktionsweise/hippie-script.git",
|
||||
"jquery": "^3.7.1",
|
||||
"sass": "^1.93.0"
|
||||
}
|
||||
"name": "hippie",
|
||||
"version": "0.13.1",
|
||||
"description": "Hippie interweaves preeminent personal interface elements",
|
||||
"keywords": [
|
||||
"hippie",
|
||||
"www site template"
|
||||
],
|
||||
"homepage": "https://quelltext.interaktionsweise.de/interaktionsweise/hippie",
|
||||
"bugs": "https://quelltext.interaktionsweise.de/interaktionsweise/hippie/issues",
|
||||
"license": "MIT",
|
||||
"author": "Stephan Hagedorn <sthag@interaktionsweise.de> (https://karte.interaktionsweise.de)",
|
||||
"main": "",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://quelltext.interaktionsweise.de/interaktionsweise/hippie.git"
|
||||
},
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"hello": "echo -n \"This is \" && node -p \"process.env.npm_package_name\" | tr '[:lower:]' '[:upper:]'",
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"clean": "npm run clean:build & npm run clean:deploy & npm run clean:report & npm run clean:test",
|
||||
"clean:build": "rm -rf build/*",
|
||||
"clean:deploy": "rm -rf deploy/*",
|
||||
"clean:report": "rm -rf report/*",
|
||||
"clean:test": "rm -rf test/*",
|
||||
"style:compile": "sass source/style:build/css --load-path=vendor",
|
||||
"style:deploy": "sass source/style:deploy/css --load-path=vendor",
|
||||
"style:watch": "sass --watch source/style:build/css --load-path=vendor",
|
||||
"build:new": "npm run clean:build && npx @11ty/eleventy && npm run style:compile",
|
||||
"build": "npx @11ty/eleventy && npm run style:compile",
|
||||
"deploy": "npm run clean:deploy && npx @11ty/eleventy --output=deploy --pathprefix=hippie && npm run style:deploy",
|
||||
"serve": "npm run style:watch & npx @11ty/eleventy --serve"
|
||||
},
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"normalize.css": "^8.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@11ty/eleventy": "^3.1.2",
|
||||
"@11ty/eleventy-upgrade-help": "^3.0.2",
|
||||
"bootstrap-icons": "^1.13.1",
|
||||
"hippie-script": "git+https://quelltext.interaktionsweise.de/interaktionsweise/hippie-script.git",
|
||||
"jquery": "^3.7.1",
|
||||
"sass": "^1.93.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue