22 lines
794 B
JSON
22 lines
794 B
JSON
{
|
|
"scripts": {
|
|
"build": "npm run build:css && npm run build:jsapp",
|
|
"build:css": "sass --no-source-map --no-error-css src/layout/css/style.scss src/pytest_html/resources/style.css",
|
|
"build:jsapp": "browserify ./src/pytest_html/scripts/index.js > ./src/pytest_html/resources/app.js",
|
|
"lint": "eslint src/pytest_html/scripts/ testing/",
|
|
"unit": "nyc mocha testing/**/unittest.js --require mock-local-storage",
|
|
"all": "npm run lint && npm run unit && npm run build:css && npm run build:jsapp"
|
|
},
|
|
"devDependencies": {
|
|
"browserify": "^17.0.1",
|
|
"chai": "^4.3.6",
|
|
"eslint": "^8.20.0",
|
|
"eslint-config-google": "^0.14.0",
|
|
"mocha": "^11.1.0",
|
|
"mock-local-storage": "^1.1.24",
|
|
"nyc": "^17.1.0",
|
|
"sass": "^1.85.0",
|
|
"sinon": "^19.0.2"
|
|
}
|
|
}
|