forked from Tradeshift/elements
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
151 lines (151 loc) · 5.65 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"name": "tradeshift-elements",
"description": "The Tradeshift Element Library & Framework",
"keywords": [
"client-side",
"components",
"css",
"customelements",
"javascript",
"reusable",
"shadowdom",
"tradeshift",
"ui",
"webcomponents"
],
"bugs": {
"url": "https://github.com/Tradeshift/elements/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Tradeshift/elements.git"
},
"license": "SEE LICENSE IN LICENSE.md",
"author": "Tradeshift element Team",
"contributors": [
"Daniel Spitzer <[email protected]> (https://github.com/sampi)",
"Leo Zhang <[email protected]> (https://github.com/zdlm)",
"Kian (Hossein) Esmaeilpour <[email protected]> (https://github.com/esmailpour-hosein)",
"Aleksandr Elkin <[email protected]> (https://github.com/aleks-elkin)",
"Kirill Kolombet <[email protected]> (https://github.com/kirill-kolombet)"
],
"scripts": {
"build": "cross-env-shell lerna run pre-build && lerna exec -- rollup -c=`pwd`/rollup.config.js",
"build-storybook": "build-storybook -s ./static -o .out",
"build:prod": "cross-env PRODUCTION=true npm run build",
"check-credentials": "npm whoami && npm whoami --registry=https://npm.pkg.github.com/ && npm whoami --registry=https://registry.npmjs.org/",
"check-deps": "lerna exec --stream --no-bail \"depcheck --ignores=\"lit-html,@storybook/*\" --ignore-patterns=lib,types\"",
"clean": "cross-env-shell lerna exec -- rm -rf ./lib/*",
"clean-install": "run-s clean lerna-clean lerna:bootstrap:ci",
"component-gen": "plop component",
"copy:static": "./tasks/copy-static.sh",
"dev": "run-p watch server-reload",
"format": "cross-env-shell prettier --config `pwd`/.prettierrc --write \"packages/**/README.md\" \"packages/**/*.{js,json,css}\" \"index.{css,html}\"",
"happo": "happo",
"happo-ci-github-actions": "happo-ci-github-actions",
"lerna-clean": "cross-env-shell lerna clean",
"lerna:bootstrap:ci": "lerna bootstrap --hoist --ci",
"lerna-publish-ci": "lerna publish from-package --no-verify-access",
"lerna-version": "lerna version --conventional-commits --yes --no-push",
"lint": "cross-env-shell eslint --config `pwd`/.eslintrc --color \"packages/**/**/{src,stories}/**/*.js\"",
"new-version": "sh ./scripts/new-version.sh",
"preversion": "run-s update-doc-src-from-readme update-readme generate-types format",
"server": "web-dev-server --node-resolve --open",
"server-reload": "reload --browser --exts html,umd.js",
"stage": "lint-staged",
"start": "run-p watch server",
"prestorybook": "run-s lerna:bootstrap:ci build:prod copy:static",
"storybook": "start-storybook -p 9009 -s ./static",
"prestorybook:build": "run-s lerna:bootstrap:ci build:prod copy:static",
"storybook:build": "build-storybook -s ./static -o .out",
"storybook:deploy": "storybook-to-ghpages",
"pretest": "run-s lerna:bootstrap:ci build:prod copy:static",
"test": "npm run happo",
"update-doc-src-from-readme": "cross-env-shell node ./scripts/from-readme/index.js",
"update-readme": "cross-env-shell node ./scripts/update-readme-files.js",
"add-desc-to-src": "cross-env-shell node ./scripts/add-description-to-src.js",
"generate-types": "cross-env-shell node ./scripts/generate-types.js",
"watch": "cross-env-shell lerna exec --parallel -- rollup -w -c=`pwd`/rollup.config.js",
"prepare": "husky install"
},
"lint-staged": {
"*.js": [
"eslint",
"prettier --write"
],
"*.{json,css,md,html}": [
"prettier --write"
],
"package.json": [
"npx sort-package-json"
]
},
"browserslist": [
"last 1 version",
"> 1%",
"IE 11"
],
"devDependencies": {
"@babel/core": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@commitlint/cli": "^16.2.4",
"@commitlint/config-conventional": "^16.2.4",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"@storybook/addon-actions": "^6.4.22",
"@storybook/addon-knobs": "^6.4.0",
"@storybook/addon-notes": "5.3.21",
"@storybook/addon-storysource": "^6.4.22",
"@storybook/addon-viewport": "^6.4.22",
"@storybook/addons": "^6.4.22",
"@storybook/storybook-deployer": "^2.8.11",
"@storybook/web-components": "^6.4.22",
"@web/dev-server": "^0.1.31",
"@web/rollup-plugin-copy": "^0.3.0",
"@webcomponents/webcomponentsjs": "^2.6.0",
"core-js": "^3.22.4",
"cross-env": "^7.0.3",
"depcheck": "^1.4.3",
"eslint": "^8.14.0",
"eslint-config-tradeshift": "^8.0.5",
"eslint-plugin-lit": "^1.6.1",
"fast-async": "^7.0.6",
"happo-plugin-storybook": "^2.10.3",
"happo.io": "^7.2.0",
"husky": "^7.0.4",
"lerna": "^5.1.4",
"lint-staged": "^12.4.1",
"node-plop": "^0.26.3",
"npm-run-all": "^4.1.5",
"plop": "^2.7.6",
"postcss": "^8.4.13",
"postcss-preset-env": "^7.4.4",
"prettier": "^2.6.2",
"reload": "^3.1.1",
"rollup": "^2.71.1",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-svgo": "^1.1.0",
"rollup-plugin-terser": "^7.0.2",
"tablemark": "^2.0.0",
"xa": "^2.4.0"
},
"publishConfig": {
"access": "public"
},
"overrides": {
"@storybook/[email protected]": {
"react-syntax-highlighter": ">=15.5.0"
},
"trim-newlines": "^3.0.1",
"glob-parent": ">=5.1.2",
"nth-check": ">=2.0.1",
"trim": ">=0.0.3"
},
"storybook-deployer": {
"gitUsername": "Tradeshift Elements",
"gitEmail": "[email protected]",
"commitMessage": "Deploy Storybook [skip ci]"
}
}