|
|
|
@ -4,12 +4,7 @@
|
|
|
|
|
"author": "Pressbooks (Book Oven Inc.) <code@pressbooks.com>", |
|
|
|
|
"homepage": "https://github.com/pressbooks/pressbooks-aldine/", |
|
|
|
|
"description": "Aldine is the root theme for Pressbooks.", |
|
|
|
|
"keywords": [ |
|
|
|
|
"publishing", |
|
|
|
|
"catalog", |
|
|
|
|
"pressbooks", |
|
|
|
|
"default-theme" |
|
|
|
|
], |
|
|
|
|
"keywords": ["publishing", "catalog", "pressbooks", "default-theme"], |
|
|
|
|
"private": true, |
|
|
|
|
"repository": { |
|
|
|
|
"type": "git", |
|
|
|
@ -24,11 +19,7 @@
|
|
|
|
|
"url": "https://opensource.org/licenses/GPL-3.0" |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
"browserslist": [ |
|
|
|
|
"last 2 versions", |
|
|
|
|
"android 4", |
|
|
|
|
"opera 12" |
|
|
|
|
], |
|
|
|
|
"browserslist": ["last 2 versions", "android 4", "opera 12"], |
|
|
|
|
"eslintConfig": { |
|
|
|
|
"extends": "./node_modules/pressbooks-build-tools/config/eslint.js", |
|
|
|
|
"globals": { |
|
|
|
@ -40,14 +31,20 @@
|
|
|
|
|
"extends": "./node_modules/pressbooks-build-tools/config/stylelint.js" |
|
|
|
|
}, |
|
|
|
|
"scripts": { |
|
|
|
|
"build": "cross-env NODE_ENV=development webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", |
|
|
|
|
"build:production": "cross-env NODE_ENV=production webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", |
|
|
|
|
"build:profile": "cross-env NODE_ENV=production webpack --progress --profile --json --config=node_modules/laravel-mix/setup/webpack.config.js", |
|
|
|
|
"start": "cross-env NODE_ENV=development webpack --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", |
|
|
|
|
"build": |
|
|
|
|
"cross-env NODE_ENV=development webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", |
|
|
|
|
"build:production": |
|
|
|
|
"cross-env NODE_ENV=production webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", |
|
|
|
|
"build:profile": |
|
|
|
|
"cross-env NODE_ENV=production webpack --progress --profile --json --config=node_modules/laravel-mix/setup/webpack.config.js", |
|
|
|
|
"start": |
|
|
|
|
"cross-env NODE_ENV=development webpack --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", |
|
|
|
|
"rmdist": "rimraf dist", |
|
|
|
|
"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", |
|
|
|
|
"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", |
|
|
|
|
"test": "npm run -s lint" |
|
|
|
|
}, |
|
|
|
|
"engines": { |
|
|
|
@ -57,7 +54,7 @@
|
|
|
|
|
"pressbooks-build-tools": "^0.10.0" |
|
|
|
|
}, |
|
|
|
|
"dependencies": { |
|
|
|
|
"aetna": "^1.0.0-alpha.3", |
|
|
|
|
"aetna": "^1.0.0-alpha.6", |
|
|
|
|
"isotope-layout": "^3.0.5", |
|
|
|
|
"jquery-bridget": "^2.0.1", |
|
|
|
|
"js-cookie": "^2.2.0", |
|
|
|
|