53 lines
2 KiB
JSON
53 lines
2 KiB
JSON
{
|
|
"name": "site-scorfel",
|
|
"version": "2019.05.23",
|
|
"private": true,
|
|
"description": "The sources for <httpe://scorfel.fr>",
|
|
"main": "",
|
|
"scripts": {
|
|
"build": "DEBUG=metalsmith* npm run clean && npm run build:metalsmith",
|
|
"build:prod": "NODE_ENV=production npm run build",
|
|
"build:metalsmith": "node src/scripts/build-metalsmith.js",
|
|
"clean": "rimraf dist",
|
|
"dev": "npm run build && DEBUG=metalsmith* nodemon --watch src/scripts --exec node src/scripts/run-dev-server.js",
|
|
"server": "npm run build && http-server dist",
|
|
"deploy": "npm run build && cd dist && rsync -v -rlptz --relative * david@soulayrol.net:/var/www/tests.soulayrol.net",
|
|
"deploy:prod": "npm run build:prod && cd dist && rsync -v -rlptz --relative * david@soulayrol.net:/var/www/scorfel.fr",
|
|
"lint": "npm run lint:js && npm run lint:css",
|
|
"lint:js": "eslint src test",
|
|
"lint:css": "stylelint src/assets/css/**/*.css",
|
|
"test": "npm run lint && npm run test:build-process",
|
|
"test:build-process": "npm run build"
|
|
},
|
|
"author": "David Soulayrol <david.soulayrol@gmail.com>",
|
|
"dependencies": {
|
|
"mini.css": "^3.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"browser-sync": "^2.26.5",
|
|
"bs-fullscreen-message": "^1.1.0",
|
|
"clean-css": "^4.2.1",
|
|
"cli-table2": "^0.2.0",
|
|
"debug": "^3.2.6",
|
|
"eslint": "^4.19.1",
|
|
"eslint-config-standard": "^10.2.1",
|
|
"eslint-plugin-import": "^2.17.2",
|
|
"eslint-plugin-node": "^5.2.1",
|
|
"eslint-plugin-promise": "^3.8.0",
|
|
"eslint-plugin-standard": "3.0.1",
|
|
"filesize": "^3.6.1",
|
|
"http-server": "^0.10.0",
|
|
"jstransformer-nunjucks": "^0.5.0",
|
|
"metalsmith": "^2.2.0",
|
|
"metalsmith-assets": "^0.1.0",
|
|
"metalsmith-clean-css": "^6.0.0",
|
|
"metalsmith-index": "^1.1.0",
|
|
"metalsmith-layouts": "2.3.1",
|
|
"metalsmith-markdownit": "^0.5.0",
|
|
"metalsmith-rename": "^1.0.0",
|
|
"nodemon": "^1.19.0",
|
|
"rimraf": "^2.6.3",
|
|
"stylelint": "^8.2.0",
|
|
"stylelint-config-standard": "^17.0.0"
|
|
}
|
|
}
|