99 lines
3 KiB
JSON
99 lines
3 KiB
JSON
{
|
|
"name": "@lion/root",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"devDependencies": {
|
|
"@open-wc/building-rollup": "^1.2.1",
|
|
"@commitlint/cli": "^7.0.0",
|
|
"@commitlint/config-conventional": "^7.0.0",
|
|
"@open-wc/demoing-storybook": "^2.0.0",
|
|
"@open-wc/eslint-config": "^1.0.0",
|
|
"@open-wc/testing": "^2.5.0",
|
|
"@open-wc/testing-helpers": "^1.0.0",
|
|
"@open-wc/testing-karma": "^3.2.30",
|
|
"@open-wc/testing-karma-bs": "^1.3.30",
|
|
"@open-wc/testing-wallaby": "^0.1.12",
|
|
"@storybook/addon-a11y": "~5.0.0",
|
|
"@webcomponents/webcomponentsjs": "^2.2.5",
|
|
"babel-eslint": "^8.2.6",
|
|
"babel-polyfill": "^6.26.0",
|
|
"bundlesize": "^0.17.1",
|
|
"chai": "^4.2.0",
|
|
"eclint": "^2.8.1",
|
|
"eslint": "^6.1.0",
|
|
"eslint-config-prettier": "^6.11.0",
|
|
"husky": "^1.0.0",
|
|
"lerna": "3.4.3",
|
|
"lint-staged": "^8.0.0",
|
|
"markdownlint-cli": "^0.17.0",
|
|
"mocha": "^7.1.1",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^2.0.5",
|
|
"rimraf": "^2.6.3",
|
|
"rollup": "^2.0.0",
|
|
"sinon": "^7.2.2",
|
|
"webpack-merge": "^4.1.5",
|
|
"whatwg-fetch": "^3.0.0"
|
|
},
|
|
"scripts": {
|
|
"start": "npm run storybook",
|
|
"storybook": "start-storybook -p 9001",
|
|
"storybook:build": "build-storybook",
|
|
"storybook:build:start": "es-dev-server --root-dir storybook-static --open",
|
|
"test": "run-p test:browser test:node",
|
|
"test:browser": "karma start --coverage",
|
|
"test:node": "lerna run test:node",
|
|
"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: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)",
|
|
"lint:markdownlint": "git ls-files '*.md' | xargs markdownlint --ignore '**/CHANGELOG.md'",
|
|
"lint:versions": "node ./scripts/lint-versions.js",
|
|
"format": "npm run format:eslint && npm run format:prettier",
|
|
"format:eslint": "eslint --ext .js,.html . --fix",
|
|
"format:prettier": "prettier \"**/*.{js,md}\" --write",
|
|
"bundlesize": "rollup -c bundlesize/rollup.config.js && bundlesize"
|
|
},
|
|
"lint-staged": {
|
|
"*": [
|
|
"eclint fix",
|
|
"git add"
|
|
],
|
|
"*.js": [
|
|
"eslint --fix",
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"*.md": [
|
|
"prettier --write",
|
|
"markdownlint",
|
|
"git add"
|
|
],
|
|
"*package.json": [
|
|
"node ./scripts/lint-versions.js"
|
|
]
|
|
},
|
|
"bundlesize": [
|
|
{
|
|
"path": "./bundlesize/dist/core/*.js",
|
|
"maxSize": "11 kB"
|
|
},
|
|
{
|
|
"path": "./bundlesize/dist/all/*.js",
|
|
"maxSize": "45 kB"
|
|
}
|
|
],
|
|
"prettier": {
|
|
"printWidth": 100,
|
|
"singleQuote": true,
|
|
"arrowParens": "avoid",
|
|
"trailingComma": "all"
|
|
}
|
|
}
|