38 lines
1.6 KiB
JSON
38 lines
1.6 KiB
JSON
{
|
|
"name": "roe-pressbooks",
|
|
"description": "Scaffolding for a Pressbooks plugin.",
|
|
"scripts": {
|
|
"build": "cross-env NODE_ENV=development webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
|
"watch": "cross-env NODE_ENV=development webpack --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js",
|
|
"hot": "cross-env NODE_ENV=development webpack-dev-server --inline --hot --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",
|
|
"lint": "npm -s run lint:styles && npm -s run lint:scripts",
|
|
"lint:styles": "cross-env NODE_ENV=development node_modules/stylelint/bin/stylelint.js \"assets/src/styles/**/*.scss\" --syntax scss",
|
|
"lint:scripts": "cross-env NODE_ENV=development node_modules/eslint/bin/eslint.js \"assets/src/scripts/*.js\"",
|
|
"test": "npm -s run lint"
|
|
},
|
|
"engines": {
|
|
"node": ">= 6.9.4"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"pressbooks-build-tools": "^0.11.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/villa7/roe-pressbooks.git"
|
|
},
|
|
"author": "Book Oven Inc. <code@pressbooks.com>",
|
|
"license": "GPL-3.0-or-later",
|
|
"bugs": {
|
|
"url": "https://github.com/villa7/roe-pressbooks/issues"
|
|
},
|
|
"homepage": "https://github.com/villa7/roe-pressbooks/",
|
|
"eslintConfig": {
|
|
"extends": "./node_modules/pressbooks-build-tools/config/eslint.js"
|
|
},
|
|
"stylelint": {
|
|
"extends": "./node_modules/pressbooks-build-tools/config/stylelint.js"
|
|
}
|
|
}
|