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