mirror of
https://github.com/jlengrand/open-wc.git
synced 2026-03-10 08:31:19 +00:00
48 lines
1.6 KiB
JSON
48 lines
1.6 KiB
JSON
{
|
|
"name": "@open-wc/root",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"bootstrap": "lerna bootstrap --hoist --no-ci",
|
|
"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)",
|
|
"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",
|
|
"test": "karma start",
|
|
"test:ci": "lerna run test:ci",
|
|
"test:es5": "karma start karma.es5.config.js",
|
|
"test:es5:bs": "karma start karma.es5.bs.config.js",
|
|
"vuepress:build": "vuepress build docs",
|
|
"vuepress:start": "vuepress dev docs"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"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",
|
|
"vuepress": "^1.0.0-alpha.30",
|
|
"webpack-merge": "^4.1.5"
|
|
}
|
|
}
|