Browse Source

Better Pressbooks-build-tools Solution (#197)

* unused wpapi, update js-cookie, npm audit fix
* build dist with updated versions

See: https://github.com/pressbooks/pressbooks/pull/1834
pull/204/head
Dac Chartrand 5 years ago committed by GitHub
parent
commit
262df22b4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dist/mix-manifest.json
  2. 2
      dist/scripts/aldine.js
  3. 6489
      package-lock.json
  4. 27
      package.json

2
dist/mix-manifest.json vendored

@ -1,5 +1,5 @@
{
"/scripts/aldine.js": "/scripts/aldine.js?id=1057ddd812b73a20c597",
"/scripts/aldine.js": "/scripts/aldine.js?id=0daec181529edc419139",
"/styles/aldine.css": "/styles/aldine.css?id=834982deb17473a14117",
"/styles/editor.css": "/styles/editor.css?id=c45cb52a8c16b5642bf6",
"/scripts/call-to-action.js": "/scripts/call-to-action.js?id=14b2ac09b5fc52660522",

2
dist/scripts/aldine.js vendored

File diff suppressed because one or more lines are too long

6489
package-lock.json generated

File diff suppressed because it is too large Load Diff

27
package.json

@ -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"
}
}

Loading…
Cancel
Save