-
Notifications
You must be signed in to change notification settings - Fork 67
/
package.json
178 lines (178 loc) · 7.66 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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"name": "@ebay/skin",
"description": "Skin - CSS modules that represent the brand eBay",
"version": "18.6.0",
"license": "MIT",
"main": "./index.js",
"maintainers": [
"Ian McBurnie <[email protected]>",
"Andrew Gliga <[email protected]>",
"Arthur Khachatryan <[email protected]>"
],
"homepage": "https://opensource.ebay.com/skin/",
"repository": {
"type": "git",
"url": "https://github.com/eBay/skin"
},
"files": [
"dist",
"tokens",
"./*\\.{js,css,scss,less,json,mjs}",
"!.prettierrc.json",
"!webpack.config.js",
"!postcss.config.js",
"!vite.config.js",
"!webpack.config.js"
],
"scripts": {
"prepare": "husky install",
"preview": "marko-run preview",
"start": "marko-run",
"test": "npm run build:css",
"deploy": "node scripts/jekyll-config && BASE_URL=/skin/ marko-run build -o ./_site && npm run build:storybook && ncp docs/archive _site/archive && touch _site/.nojekyll",
"deploy:only": "node scripts/jekyll-config && marko-run build -o ./_site && npm run build:storybook && ncp docs/archive _site/archive && touch _site/.nojekyll",
"prebuild": "npm run clean",
"prepublishOnly": "node scripts gen",
"postpublish": "node scripts clean",
"build": "npm run build:css && npm run lint:js && npm run copy",
"build:css": "npm run lint:sass && rimraf dist && npm run bundle && npm run postcss && node scripts/add-y-comments.js && prettier dist --write && npm run lint:css",
"build:storybook": "npm run copy:assetsToStorybook && storybook build -o ./_site/storybook",
"clean": "rimraf _cdn _site .cache .tmp .jekyll npm-debug.log.* .DS_Store",
"bundle": "sass src/sass:dist --no-source-map",
"postcss": "postcss dist/**/*.css -r ",
"lint": "npm run lint:sass && npm run lint:css && npm run lint:js",
"lint:sass": "stylelint docs/src/sass src/sass --config .stylelintrc",
"lint:css": "stylelint dist --config .stylelintrc",
"lint:js": "eslint 'src/routes/main.js' > lint.log && eslint 'src/sass/**/stories/*.js' >> lint.log ",
"format": "npx prettier --write .",
"copy": "npm run copy:sassToDist && npm run copy:svgToDist && npm run copy:svgToDocs && npm run copy:tokensToDist && npm run copy:assetsToStorybook",
"copy:sassToDist": "mkdirp dist/variables && ncp src/sass/variables dist/variables && mkdirp dist/mixins && ncp src/sass/mixins/public dist/mixins && ncp src/sass/gh dist/gh",
"copy:assetsToStorybook": "node scripts storybook-copy",
"copy:svgToDist": "mkdirp dist/svg && ncp src/svg dist/svg",
"copy:svgToDocs": "ncp src/svg src/routes/static && ncp src/svg/icons.svg src/components/master-icons.marko",
"copy:tokensToDocs": "ncp src/tokens src/routes/static",
"copy:tokensToDist": "ncp src/tokens dist/tokens",
"verify": "node scripts verify",
"version": "npm run build:storybook && npm run build && git add -A dist src && changeset version && node scripts/jekyll-config && npm i --package-lock-only",
"release": "npm run build && changeset publish",
"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",
"change": "changeset add",
"prerelease:start": "changeset pre enter next || :",
"prerelease:end": "changeset pre exit || :"
},
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.11",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@ebay/browserslist-config": "^2.10.0",
"@floating-ui/dom": "^1.6.12",
"@marko/run": "^0.5.11",
"@marko/run-adapter-static": "^0.2.1",
"@percy/cli": "^1.30.5",
"@percy/storybook": "^6.0.3",
"@storybook/html": "^8.4.7",
"@storybook/html-webpack5": "^8.4.7",
"autoprefixer": "^10.4.20",
"babel-loader": "^9.2.1",
"btoa": "^1",
"clean-css": "^5",
"cross-env": "^7",
"cssnano": "^7.0.6",
"eslint": "^9.17.0",
"eslint-config-ebay": "^1",
"eslint-config-prettier": "^9",
"eslint-plugin-prettier": "^5",
"gh-pages": "^6.2.0",
"gulp": "^5",
"husky": "^9.1.7",
"jsdom": "^25.0.1",
"lint-staged": "^15.2.11",
"makeup-alert-dialog": "~0.3.4",
"makeup-combobox": "~0.4.5",
"makeup-confirm-dialog": "~0.3.4",
"makeup-dialog": "~0.5.4",
"makeup-dialog-button": "~0.4.4",
"makeup-drawer-dialog": "0.2.4",
"makeup-expander": "~0.11.4",
"makeup-floating-label": "~0.4.5",
"makeup-fullscreen-dialog": "0.2.4",
"makeup-input-dialog": "0.2.4",
"makeup-key-emitter": "~0.4.3",
"makeup-lightbox-dialog": "0.2.4",
"makeup-listbox": "~0.4.4",
"makeup-listbox-button": "~0.5.5",
"makeup-menu": "~0.4.4",
"makeup-menu-button": "~0.4.5",
"makeup-modal": "~0.5.4",
"makeup-panel-dialog": "0.2.4",
"makeup-prevent-scroll-keys": "~0.3.3",
"makeup-roving-tabindex": "~0.7.3",
"makeup-snackbar-dialog": "0.2.4",
"makeup-switch": "~0.3.3",
"makeup-toast-dialog": "0.2.4",
"marko": "^5.37.7",
"mkdirp": "^3",
"ncp": "^2",
"npm-run-all": "^4",
"postcss": "^8.4.49",
"postcss-mixins": "^10.0.1",
"postcss-nested": "^6.2.0",
"postcss-simple-vars": "^7.0.1",
"postcss-cli": "^11.0.0",
"postcss-comment": "^2.0.0",
"postcss-import": "^16.1.0",
"postcss-loader": "^8.1.1",
"prettier": "^3.4.2",
"prismjs": "^1.29.0",
"rimraf": "^6",
"sass": "^1.83.0",
"sass-loader": "^16.0.4",
"storybook": "^8.4.7",
"stylelint": "^16.12.0",
"stylelint-config-prettier-scss": "^1.0.0",
"stylelint-config-standard": "^36",
"stylelint-config-standard-scss": "^13.1.0",
"stylelint-no-unsupported-browser-features": "^8",
"stylelint-order": "^6",
"stylelint-prettier": "^5",
"svgo": "^3.3.2",
"webpack": "^5.97.1",
"webpack-cli": "^5.1.4",
"winston": "^3.17.0",
"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,scss,json}": "prettier --write",
"*.{css,scss}": "stylelint --config .stylelintrc"
}
}