|
|
|
@ -44,18 +44,18 @@
|
|
|
|
|
"stylelint": { |
|
|
|
|
"extends": "./node_modules/pressbooks-build-tools/config/stylelint.js" |
|
|
|
|
}, |
|
|
|
|
"scripts": { |
|
|
|
|
"install-build-tools": "npm install --no-save pressbooks-build-tools", |
|
|
|
|
"watch": "npm run production -- --watch", |
|
|
|
|
"prod": "npm run production", |
|
|
|
|
"build:production": "npm run production", |
|
|
|
|
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", |
|
|
|
|
"rmdist": "rimraf dist", |
|
|
|
|
"test": "npm run -s lint", |
|
|
|
|
"lint": "npm run -s lint:scripts && npm run -s lint:styles", |
|
|
|
|
"lint:scripts": "cross-env NODE_ENV=development node_modules/eslint/bin/eslint.js \"assets/scripts/**/*.js\"", |
|
|
|
|
"lint:styles": "cross-env NODE_ENV=development node_modules/stylelint/bin/stylelint.js \"assets/styles/**/*.scss\" --syntax scss" |
|
|
|
|
}, |
|
|
|
|
"scripts": { |
|
|
|
|
"install-build-tools": "npm install --no-save pressbooks-build-tools", |
|
|
|
|
"watch": "npm run production -- --watch", |
|
|
|
|
"prod": "npm run production", |
|
|
|
|
"build:production": "npm run production", |
|
|
|
|
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", |
|
|
|
|
"rmdist": "rimraf dist", |
|
|
|
|
"test": "npm run -s lint", |
|
|
|
|
"lint": "npm run -s lint:scripts && npm run -s lint:styles", |
|
|
|
|
"lint:scripts": "cross-env NODE_ENV=development node_modules/eslint/bin/eslint.js \"assets/scripts/**/*.js\"", |
|
|
|
|
"lint:styles": "cross-env NODE_ENV=development node_modules/stylelint/bin/stylelint.js \"assets/styles/**/*.scss\" --syntax scss" |
|
|
|
|
}, |
|
|
|
|
"engines": { |
|
|
|
|
"node": ">= 10" |
|
|
|
|
}, |
|
|
|
@ -64,7 +64,6 @@
|
|
|
|
|
"aetna": "^1.0.0-alpha.26", |
|
|
|
|
"isotope-layout": "^3.0.6", |
|
|
|
|
"jquery-bridget": "^2.0.1", |
|
|
|
|
"js-cookie": "^2.2.0", |
|
|
|
|
"wpapi": "^1.1.2" |
|
|
|
|
"js-cookie": "^2.2.1" |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|