mirror of
https://github.com/jlengrand/undercover.git
synced 2026-03-10 08:51:23 +00:00
63 lines
2.2 KiB
JSON
63 lines
2.2 KiB
JSON
{
|
|
"scripts": {
|
|
"lint:eslint": "eslint --ext .js,.html .",
|
|
"format:eslint": "eslint --ext .js,.html . --fix",
|
|
"lint:prettier": "prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)",
|
|
"format:prettier": "prettier \"**/*.js\" --write",
|
|
"lint": "npm run lint:eslint && npm run lint:prettier",
|
|
"format": "npm run format:eslint && npm run format:prettier",
|
|
"test": "karma start --coverage",
|
|
"test:watch": "karma start --auto-watch=true --single-run=false",
|
|
"test:update-snapshots": "karma start --update-snapshots",
|
|
"test:prune-snapshots": "karma start --prune-snapshots",
|
|
"test:legacy": "karma start --legacy --coverage",
|
|
"test:legacy:watch": "karma start --legacy --auto-watch=true --single-run=false",
|
|
"test:bs": "karma start karma.bs.config.js --legacy --coverage",
|
|
"build": "rimraf dist && rollup -c rollup.config.js",
|
|
"start:build": "http-server dist -o -c-1",
|
|
"watch:build": "rimraf dist && rollup --watch -c rollup.config.js & http-server dist -o -c-1",
|
|
"start": "owc-dev-server --open"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^7.0.0",
|
|
"@commitlint/config-conventional": "^7.0.0",
|
|
"@open-wc/building-rollup": "^0.3.0",
|
|
"@open-wc/eslint-config": "^0.4.1",
|
|
"@open-wc/prettier-config": "^0.1.0",
|
|
"@open-wc/testing": "^0.11.1",
|
|
"@open-wc/testing-karma": "^2.0.0",
|
|
"@open-wc/testing-karma-bs": "^1.0.0",
|
|
"eslint-plugin-lit": "^1.0.0",
|
|
"http-server": "^0.11.1",
|
|
"husky": "^1.0.0",
|
|
"lint-staged": "^8.0.0",
|
|
"owc-dev-server": "^0.3.0",
|
|
"rimraf": "^2.6.3",
|
|
"rollup": "^1.6.0",
|
|
"rollup-plugin-commonjs": "^10.0.0",
|
|
"rollup-plugin-cpy": "^1.1.0",
|
|
"rollup-plugin-json": "^4.0.0",
|
|
"rollup-plugin-node-resolve": "^5.0.2",
|
|
"webpack-merge": "^4.1.5"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"name": "under-cover",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@vaadin/vaadin-button": "^2.2.0",
|
|
"@vaadin/vaadin-text-field": "^2.4.6",
|
|
"firebase": "^6.2.0",
|
|
"lit-element": "^2.0.1",
|
|
"lit-html": "^1.0.0",
|
|
"pwa-helpers": "^0.9.1",
|
|
"redux": "^4.0.1",
|
|
"uuid": "^3.3.2"
|
|
}
|
|
}
|