jonnybarnes.uk/package.json

72 lines
2.6 KiB
JSON

{
"private": true,
"name": "jbuk-frontend",
"version": "0.0.1",
"repository": "https://github.com/jonnybarnes/jonnybarnes.uk",
"license": "CC0-1.0",
"dependencies": {
"a11y.css": "^4.5.2",
"alertify.js": "^1.0.12",
"marked": "^0.6.2",
"normalize.css": "^8.0.1",
"puppeteer": "^1.15.0"
},
"devDependencies": {
"@babel/core": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"ajv": "^6.10.0",
"ajv-keywords": "^3.4.0",
"autoprefixer": "^9.5.1",
"babel-cli": "^6.26.0",
"babel-loader": "^8.0.5",
"babel-preset-env": "^1.7.0",
"babel-runtime": "^6.26.0",
"dotenv-webpack": "^1.7.0",
"eslint": "^5.16.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-node": "^9.0.1",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^4.0.0",
"husky": "^2.2.0",
"lint-staged": "^8.1.6",
"postcss-cli": "^6.1.2",
"postcss-sass": "^0.3.5",
"pre-commit": "^1.1.3",
"source-list-map": "^2.0.1",
"stylelint": "^10.0.1",
"stylelint-config-standard": "^18.3.0",
"uglify-js": "^3.5.11",
"webpack": "^4.31.0",
"webpack-cli": "^3.3.2",
"webpack-sources": "^1.3.0"
},
"scripts": {
"compress": "scripts/compress",
"copy-dist": "cp ./node_modules/alertify.js/dist/css/alertify.css ./public/assets/frontend/ && cp ./node_modules/normalize.css/normalize.css ./public/assets/frontend/ && cp ./node_modules/a11y.css/css/*.css ./public/assets/frontend/a11y.css/",
"lint:es6": "eslint resources/es6/*.js",
"lint:sass": "stylelint --syntax=scss resources/sass/**/*.scss",
"make": "npm run make:css && npm run make:js",
"make:css": "npm run lint:sass && npm run sass && npm run postcss",
"make:js": "npm run lint:es6 && npm run webpack && npm run uglifyjs",
"postcss": "postcss public/assets/css/app.css --use autoprefixer --autoprefixer.browsers \"> 5%\" --replace --map",
"sass": "sassc --style compressed --sourcemap resources/sass/app.scss public/assets/css/app.css",
"uglifyjs": "scripts/uglifyjs",
"webpack": "webpack --progress --colors"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"./resources/es6/*.js": [
"eslint --fix",
"git add"
],
"*.scss": [
"stylelint --syntax=scss --fix",
"git add"
]
}
}