forked from eBay/skin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
156 lines (156 loc) · 6.75 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
152
153
154
155
156
{
"name": "@ebay/skin",
"description": "Skin - CSS modules that represent the brand eBay",
"version": "17.0.1",
"license": "MIT",
"main": "./index.js",
"maintainers": [
"Ian McBurnie <[email protected]>",
"Andrew Gliga <[email protected]>",
"Arthur Khachatryan <[email protected]>"
],
"homepage": "https://ebay.github.io/skin/",
"repository": {
"type": "git",
"url": "https://github.com/eBay/skin"
},
"scripts": {
"prepare": "husky install",
"start": "npm run build && gulp server",
"test": "npm run build:css",
"prebuild": "npm run clean",
"prepublishOnly": "node scripts gen",
"postpublish": "node scripts clean",
"build": "npm run build:css && npm run lint:js && npm run bundle && npm run build:site && npm run copy",
"build:css": "npm run lint:less && rimraf dist && gulp && npm run lint:css",
"build:ci": "npm run build:css && npm run lint:js && npm run bundle && npm run copy",
"build:jekyll": "bundler exec jekyll build --incremental --config docs/_config.yml,docs/_config.localhost.yml",
"build:site": "npm run copy:svgToDocs && npm run build:jekyll",
"build:storybook": "npm run copy:assetsToStorybook && storybook build -o ./docs/storybook",
"clean": "rimraf _cdn _site .cache .tmp .jekyll npm-debug.log.* .DS_Store",
"compileModule": "npx gulp compileModule --name $NAME",
"bundle": "npm run bundle:js && npm run bundle:css",
"bundle:js": "npm run transpile && webpack",
"bundle:css": "npx lessc --clean-css ./docs/src/less/index.less ./docs/static/docs.min.css",
"lint": "npm run lint:less && npm run lint:css && npm run lint:js",
"lint:less": "stylelint docs/src/less src/less --config .stylelintrc",
"lint:css": "stylelint dist --config .stylelintrc",
"lint:js": "eslint 'docs/src/js/main.js' > lint.log && eslint 'src/less/**/stories/*.js' >> lint.log ",
"format": "npx prettier --write .",
"copy": "npm run copy:lessToDist && npm run copy:svgToDist && npm run copy:tokensToDist",
"copy:lessToDist": "mkdirp dist/variables && ncp src/less/variables dist/variables && mkdirp dist/mixins && ncp src/less/mixins/public dist/mixins",
"copy:assetsToStorybook": "node scripts storybook-copy",
"copy:svgToDist": "mkdirp dist/svg && ncp src/svg dist/svg",
"copy:svgToDocs": "ncp src/svg docs/static && ncp src/svg/icons.svg docs/_includes/master-icons.html",
"copy:tokensToDocs": "ncp src/tokens docs/static",
"copy:tokensToDist": "ncp src/tokens dist/tokens",
"verify": "node scripts verify",
"version": "node scripts/jekyll-config && npm run build:storybook && npm run build && git add -A dist docs",
"transpile": "babel docs/src/js --out-dir docs/_babel",
"build:snapshots": "npm run copy:assetsToStorybook && storybook build -o ./.storybook-percy",
"snapshots": "npm run build:snapshots && npx gulp runSnapshots --stories $STORIES",
"snapshots:dry": "npm run build:snapshots && npx gulp runSnapshots --dry yes --stories $STORIES",
"snapshots:execute": "npm run build:snapshots && percy storybook ./.storybook-percy --include",
"snapshots:execute:dry": "percy storybook ./.storybook-percy --dry-run --include",
"snapshots:all": "npm run build:snapshots && percy storybook ./.storybook-percy --include '.*'",
"snapshots:all:dry": "npm run build:snapshots && percy storybook --dry-run ./.storybook-percy --include '.*'",
"storybook": "npm run copy:assetsToStorybook && storybook dev -c .storybook"
},
"devDependencies": {
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.3",
"@babel/preset-env": "^7.23.3",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@ebay/browserslist-config": "^2.6.0",
"@floating-ui/dom": "^1.5.3",
"@percy/cli": "^1.27.4",
"@percy/storybook": "^5.0.0",
"@storybook/html": "^7.5.3",
"@storybook/html-webpack5": "^7.5.3",
"babel-loader": "^9.1.2",
"browser-sync": "^2.29.3",
"btoa": "^1",
"cross-env": "^7",
"eslint": "^8.54.0",
"eslint-config-ebay": "^1",
"eslint-config-prettier": "^9",
"eslint-plugin-prettier": "^5",
"gulp": "^4",
"gulp-banner": "~0.1.3",
"gulp-clean-css": "^4",
"gulp-less": "^5",
"gulp-rename": "^2",
"husky": "^8.0.3",
"jekyll": "^3.0.0-beta1",
"jsdom": "^23.0.0",
"less-loader": "^11.1.0",
"less-plugin-autoprefix": "^2",
"less-plugin-clean-css": "^1.5.1",
"lint-staged": "^15.1.0",
"makeup-alert-dialog": "~0.2.0",
"makeup-combobox": "~0.3.0",
"makeup-confirm-dialog": "~0.2.0",
"makeup-dialog": "~0.4.1",
"makeup-dialog-button": "~0.3.0",
"makeup-drawer-dialog": "0.1.0",
"makeup-expander": "~0.10.1",
"makeup-floating-label": "~0.3.2",
"makeup-fullscreen-dialog": "0.1.0",
"makeup-input-dialog": "0.1.0",
"makeup-key-emitter": "~0.3.1",
"makeup-lightbox-dialog": "0.1.0",
"makeup-listbox": "~0.3.1",
"makeup-listbox-button": "~0.4.0",
"makeup-menu": "~0.3.0",
"makeup-menu-button": "~0.3.0",
"makeup-modal": "~0.4.0",
"makeup-panel-dialog": "0.1.0",
"makeup-prevent-scroll-keys": "~0.2.1",
"makeup-roving-tabindex": "~0.6.0",
"makeup-snackbar-dialog": "0.1.0",
"makeup-switch": "~0.2.0",
"makeup-toast-dialog": "0.1.0",
"mkdirp": "^3",
"ncp": "^2",
"npm-run-all": "^4",
"postcss-less": "^6.0.0",
"postcss-loader": "^7.3.0",
"prettier": "^3.1.0",
"rimraf": "^5",
"storybook": "^7.5.3",
"stylelint": "^15.6.2",
"stylelint-config-standard": "^34",
"stylelint-no-unsupported-browser-features": "^7",
"stylelint-order": "^6",
"stylelint-prettier": "^4",
"svgo": "^3.0.4",
"webpack": "^5.83.0",
"webpack-cli": "^5.1.1",
"winston": "^3.8.2",
"xmlserializer": "^0.6.1",
"yargs": "^17.7.2"
},
"keywords": [
"eBay",
"CSS",
"BEM",
"LassoJS",
"accessibility",
"WAI-ARIA",
"eBay MIND Patterns"
],
"publishConfig": {
"registry": "https://registry.npmjs.org"
},
"browserslist": [
"extends @ebay/browserslist-config"
],
"commitlint": {
"extends": "@commitlint/config-conventional"
},
"lint-staged": {
"*.{js,css,md,less,json}": "prettier --write",
"*.{css,less}": "stylelint --config .stylelintrc"
}
}