Files
open-wc/package.json
2019-03-23 23:17:23 +01:00

53 lines
1.7 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",
"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"
]
},
"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",
"@types/mocha": "^5.0.0",
"@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"
}
}