forked from ing-bank/lion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
85 lines (85 loc) · 2.56 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"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": "^1.8.3",
"@open-wc/eslint-config": "^1.0.0",
"@open-wc/prettier-config": "^0.1.0",
"@open-wc/testing": "^2.5.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",
"eclint": "^2.8.1",
"eslint": "^6.1.0",
"husky": "^1.0.0",
"lerna": "3.4.3",
"lint-staged": "^8.0.0",
"markdownlint-cli": "^0.17.0",
"npm-run-all": "^4.1.5",
"rimraf": "^2.6.3",
"rollup": "^1.27.8",
"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",
"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: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/core-*.js",
"maxSize": "10 kB"
},
{
"path": "./bundlesize/dist/all/all-*.js",
"maxSize": "30 kB"
}
]
}