silverstripe-progressivewebapp/package.json
2020-04-02 06:46:41 +07:00

97 lines
2.5 KiB
JSON
Executable File

{
"name": "@a2nt/silverstripe-progressivewebapp",
"version": "1.8.8",
"author": "Tony Air <tony@twma.pro>",
"license": "MIT",
"description": "SilverStripe Service Worker",
"private": false,
"main": "client/src/app.js",
"repository": {
"type": "git",
"url": "git+https://github.com/a2nt/webpack-bootstrap-ui-kit"
},
"engines": {
"yarn": ">= 1.0.0"
},
"scripts": {
"start": "cross-env NODE_ENV=development webpack-dev-server --https -d --config webpack.config.js",
"dash": "cross-env NODE_ENV=development webpack-dashboard -- webpack-dev-server --config webpack.config.js",
"build": "cross-env NODE_ENV=production webpack -p --config webpack.config.js --progress",
"lint:check": "eslint ./client/src --config .eslintrc",
"lint:fix": "eslint ./client/src --config .eslintrc --fix",
"lint:js": "eslint ./client/src --config .eslintrc",
"prebuild": "yarn lint:fix && rimraf ./client/dist",
"prepare": "yarn lint:fix && yarn build",
"prunecaches": "rimraf ./node_modules/.cache/",
"postinstall": "npm run prunecaches",
"postuninstall": "npm run prunecaches"
},
"dependencies": {
"yarn": "^1.22.4"
},
"devDependencies": {
"babel-loader": "*",
"@babel/preset-env": "*",
"babel-eslint": "^8.2.6",
"rimraf": "^2.6.3",
"terser-webpack-plugin": "^2.3.5",
"url-loader": "^0.6.2",
"webpack": "^4.42.0",
"webpack-cli": "^3.3.11",
"webpack-dev-server": "^3.10.3",
"webpack-manifest-plugin": "^1.3.2",
"webpack-merge": "^4.1.1",
"hard-source-webpack-plugin": "^0.13.1"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
},
"browserslist": [
"defaults",
"ie>=11"
],
"stylelint": {
"rules": {
"block-no-empty": null,
"color-no-invalid-hex": true,
"comment-empty-line-before": [
"always",
{
"ignore": [
"stylelint-commands",
"after-comment"
]
}
],
"declaration-colon-space-after": "always",
"indentation": [
4,
{
"except": [
"value"
]
}
],
"max-empty-lines": 2,
"rule-empty-line-before": [
"always",
{
"except": [
"first-nested"
],
"ignore": [
"after-comment"
]
}
],
"unit-whitelist": [
"em",
"rem",
"%",
"s",
"px"
]
}
}
}