mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-25 15:52:08 +00:00
57 lines
2.0 KiB
JSON
57 lines
2.0 KiB
JSON
{
|
|
"name": "@open-wc/root",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"lint": "run-p lint:*",
|
|
"lint:eslint": "eslint --ext .js,.html .",
|
|
"lint:prettier": "prettier \"**/*.js\" --list-different || (echo '↑↑ these files are not prettier formatted ↑↑' && exit 1)",
|
|
"lint:types": "tsc",
|
|
"format": "npm run format:eslint && npm run format:prettier",
|
|
"format:eslint": "eslint --ext .js,.html . --fix",
|
|
"format:prettier": "prettier \"**/*.js\" --write",
|
|
"publish": "lerna publish --message 'chore: release new versions'",
|
|
"site:build": "npm run vuepress:build",
|
|
"site:start": "npm run vuepress:start",
|
|
"build": "lerna run build",
|
|
"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:ci": "lerna run test:ci",
|
|
"test:compatibility": "karma start --compatibility all --coverage",
|
|
"test:compatibility:watch": "karma start --auto-watch=true --single-run=false --compatibility all --coverage",
|
|
"test:bs": "karma start karma.bs.conf.js --compatibility all --coverage",
|
|
"vuepress:build": "vuepress build docs",
|
|
"vuepress:start": "vuepress dev docs"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"devDependencies": {
|
|
"@commitlint/cli": "7.2.1",
|
|
"@commitlint/config-conventional": "7.1.2",
|
|
"@commitlint/config-lerna-scopes": "7.2.1",
|
|
"@open-wc/testing-karma": "file:./packages/testing-karma",
|
|
"@open-wc/testing-karma-bs": "file:./packages/testing-karma-bs",
|
|
"@vuepress/plugin-google-analytics": "^1.0.0-alpha.30",
|
|
"eslint": "^5.13.0",
|
|
"eslint-config-prettier": "^3.3.0",
|
|
"husky": "1.1.2",
|
|
"lerna": "3.4.3",
|
|
"lint-staged": "^8.1.0",
|
|
"npm-run-all": "4.1.3",
|
|
"prettier": "^1.15.0",
|
|
"typescript": "^3.3.3333",
|
|
"vuepress": "^1.0.0-alpha.30",
|
|
"webpack-merge": "^4.1.5"
|
|
}
|
|
}
|