67 lines
2.2 KiB
JSON
67 lines
2.2 KiB
JSON
{
|
|
"name": "@lion/root",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^7.0.0",
|
|
"@commitlint/config-conventional": "^7.0.0",
|
|
"@open-wc/demoing-storybook": "^0.2.0",
|
|
"@open-wc/eslint-config": "^0.4.5",
|
|
"@open-wc/prettier-config": "^0.1.0",
|
|
"@open-wc/testing": "^0.12.5",
|
|
"@open-wc/testing-karma": "^2.0.3",
|
|
"@open-wc/testing-karma-bs": "^1.1.3",
|
|
"@open-wc/testing-wallaby": "^0.1.12",
|
|
"@webcomponents/webcomponentsjs": "^2.2.5",
|
|
"babel-eslint": "^8.2.6",
|
|
"babel-polyfill": "^6.26.0",
|
|
"eclint": "^2.8.1",
|
|
"eslint": "^5.14.1",
|
|
"eslint-config-prettier": "^4.0.0",
|
|
"eslint-plugin-html": "^5.0.3",
|
|
"eslint-plugin-import": "^2.16.0",
|
|
"husky": "^1.0.0",
|
|
"lerna": "3.4.3",
|
|
"lint-staged": "^8.0.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"sinon": "^7.2.2",
|
|
"webpack-merge": "^4.1.5",
|
|
"whatwg-fetch": "^3.0.0"
|
|
},
|
|
"scripts": {
|
|
"start": "npm run storybook",
|
|
"storybook": "start-storybook -p 9001 -s ./assets",
|
|
"storybook:build": "build-storybook -s ./assets",
|
|
"test": "karma start --coverage",
|
|
"test:watch": "karma start --auto-watch=true --single-run=false",
|
|
"test:legacy": "karma start --legacy --coverage",
|
|
"test:legacy:watch": "karma start --legacy --auto-watch=true --single-run=false",
|
|
"test:update-snapshots": "karma start --update-snapshots",
|
|
"test:prune-snapshots": "karma start --prune-snapshots",
|
|
"test:bs": "karma start karma.bs.config.js --coverage",
|
|
"lint": "run-p lint:*",
|
|
"lint:eclint": "git ls-files | xargs eclint check",
|
|
"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"
|
|
},
|
|
"lint-staged": {
|
|
"*": [
|
|
"eclint fix",
|
|
"git add"
|
|
],
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"yarn.lock": [
|
|
"node ./scripts/yarn-lock-scan.js"
|
|
]
|
|
}
|
|
}
|