2016-05-19 15:01:28 +01:00
|
|
|
{
|
2017-03-20 19:20:48 +00:00
|
|
|
"private": true,
|
|
|
|
"name": "jbuk-frontend",
|
|
|
|
"version": "0.0.1",
|
|
|
|
"repository": "https://github.com/jonnybarnes/jonnybarnes.uk",
|
|
|
|
"license": "CC0-1.0",
|
|
|
|
"dependencies": {
|
|
|
|
"alertify.js": "^1.0.12",
|
2017-06-20 21:41:22 +01:00
|
|
|
"mapbox-gl": "^0.38.0",
|
2017-03-20 19:20:48 +00:00
|
|
|
"marked": "^0.3.6",
|
2017-06-20 21:38:21 +01:00
|
|
|
"normalize.css": "^7.0.0",
|
|
|
|
"webStorage": "^1.2.3"
|
2017-03-20 19:20:48 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"babel-cli": "^6.18.0",
|
|
|
|
"babel-core": "^6.21.0",
|
2017-06-20 21:41:22 +01:00
|
|
|
"babel-loader": "^7.1.0",
|
2017-03-21 16:34:17 +00:00
|
|
|
"babel-preset-env": "^1.2.2",
|
2017-03-20 19:20:48 +00:00
|
|
|
"babel-preset-es2015": "^6.18.0",
|
|
|
|
"babel-preset-latest": "^6.16.0",
|
|
|
|
"babel-runtime": "^6.20.0",
|
2017-06-20 21:41:22 +01:00
|
|
|
"lint-staged": "^4.0.0",
|
2017-03-20 19:20:48 +00:00
|
|
|
"pre-commit": "^1.1.3",
|
|
|
|
"stylelint-config-standard": "^16.0.0",
|
2017-06-20 21:41:22 +01:00
|
|
|
"webpack": "^3.0.0"
|
2017-03-20 19:20:48 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
2017-05-23 14:45:01 +01:00
|
|
|
"compress": "scripts/compress",
|
2017-03-20 19:20:48 +00:00
|
|
|
"copy-dist": "cp ./node_modules/mapbox-gl/dist/mapbox-gl.css ./public/assets/frontend/ && cp ./node_modules/alertify.js/dist/css/alertify.css ./public/assets/frontend/ && cp ./node_modules/normalize.css/normalize.css ./public/assets/frontend/",
|
2017-05-23 14:57:14 +01:00
|
|
|
"lint-staged": "lint-staged",
|
2017-03-20 22:40:55 +00:00
|
|
|
"lint:es6": "eslint resources/assets/es6/*.js",
|
2017-05-23 14:57:14 +01:00
|
|
|
"lint:sass": "stylelint --syntax=scss resources/assets/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/assets/sass/app.scss public/assets/css/app.css",
|
|
|
|
"stylelint-staged": "stylelint --syntax=scss",
|
2017-05-23 14:45:01 +01:00
|
|
|
"uglifyjs": "scripts/uglifyjs",
|
2017-05-23 14:41:56 +01:00
|
|
|
"webpack": "./node_modules/.bin/webpack --progress --colors"
|
2017-03-20 19:20:48 +00:00
|
|
|
},
|
|
|
|
"lint-staged": {
|
2017-03-23 14:10:51 +00:00
|
|
|
"resources/assets/es6/*.js": "eslint",
|
|
|
|
"resources/assets/sass/**/*.scss": "stylelint-staged"
|
2017-03-20 19:20:48 +00:00
|
|
|
},
|
|
|
|
"pre-commit": [
|
|
|
|
"lint-staged"
|
|
|
|
]
|
2016-05-19 15:01:28 +01:00
|
|
|
}
|