|
|
@ -1,10 +1,15 @@ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"name": "@pressbooks/pressbooks-aldine", |
|
|
|
"name": "@pressbooks/pressbooks-aldine", |
|
|
|
"version": "1.0.0-beta.1", |
|
|
|
"version": "1.0.0-beta.2", |
|
|
|
"author": "Pressbooks (Book Oven Inc.) <code@pressbooks.com>", |
|
|
|
"author": "Pressbooks (Book Oven Inc.) <code@pressbooks.com>", |
|
|
|
"homepage": "https://github.com/pressbooks/pressbooks-aldine/", |
|
|
|
"homepage": "https://github.com/pressbooks/pressbooks-aldine/", |
|
|
|
"description": "Aldine is the root theme for Pressbooks.", |
|
|
|
"description": "Aldine is the root theme for Pressbooks.", |
|
|
|
"keywords": ["publishing", "catalog", "pressbooks", "default-theme"], |
|
|
|
"keywords": [ |
|
|
|
|
|
|
|
"publishing", |
|
|
|
|
|
|
|
"catalog", |
|
|
|
|
|
|
|
"pressbooks", |
|
|
|
|
|
|
|
"default-theme" |
|
|
|
|
|
|
|
], |
|
|
|
"private": true, |
|
|
|
"private": true, |
|
|
|
"repository": { |
|
|
|
"repository": { |
|
|
|
"type": "git", |
|
|
|
"type": "git", |
|
|
@ -19,7 +24,11 @@ |
|
|
|
"url": "https://opensource.org/licenses/GPL-3.0" |
|
|
|
"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": { |
|
|
|
"eslintConfig": { |
|
|
|
"extends": "./node_modules/pressbooks-build-tools/config/eslint.js", |
|
|
|
"extends": "./node_modules/pressbooks-build-tools/config/eslint.js", |
|
|
|
"globals": { |
|
|
|
"globals": { |
|
|
@ -31,19 +40,14 @@ |
|
|
|
"extends": "./node_modules/pressbooks-build-tools/config/stylelint.js" |
|
|
|
"extends": "./node_modules/pressbooks-build-tools/config/stylelint.js" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"scripts": { |
|
|
|
"scripts": { |
|
|
|
"build": |
|
|
|
"build": "cross-env NODE_ENV=development webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js", |
|
|
|
"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:production": |
|
|
|
"build:profile": "cross-env NODE_ENV=production webpack --progress --profile --json --config=node_modules/laravel-mix/setup/webpack.config.js", |
|
|
|
"cross-env NODE_ENV=production webpack --progress --hide-modules --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: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", |
|
|
|
"rmdist": "rimraf dist", |
|
|
|
"lint": "npm run -s lint:scripts && npm run -s lint:styles", |
|
|
|
"lint": "npm run -s lint:scripts && npm run -s lint:styles", |
|
|
|
"lint:scripts": "node_modules/eslint/bin/eslint.js \"assets/scripts/*.js\"", |
|
|
|
"lint:scripts": "node_modules/eslint/bin/eslint.js \"assets/scripts/*.js\"", |
|
|
|
"lint:styles": |
|
|
|
"lint:styles": "node_modules/stylelint/bin/stylelint.js \"assets/styles/**/*.scss\" --syntax scss", |
|
|
|
"node_modules/stylelint/bin/stylelint.js \"assets/styles/**/*.scss\" --syntax scss", |
|
|
|
|
|
|
|
"test": "npm run -s lint" |
|
|
|
"test": "npm run -s lint" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"engines": { |
|
|
|
"engines": { |
|
|
|