forked from eBay/skin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
151 lines (151 loc) · 6.51 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": "@ebay/skin",
"description": "Skin - CSS modules that represent the brand eBay",
"version": "13.4.1",
"license": "MIT",
"main": "./index.js",
"maintainers": [
"Ian McBurnie <ianmcburnie@hotmail.com>",
"Andrew Gliga <agliga4@gmail.com>",
"Austin P Gardner <gardneraustin@protonmail.com>"
],
"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/generate-imports gen",
"postpublish": "node scripts/generate-imports 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 && gulp && npm run lint:css",
"build:site": "npm run copy:svgToDocs && npm run jekyll:docs",
"clean": "rimraf _cdn _site .cache .tmp .jekyll npm-debug.log.* .DS_Store",
"jekyll:docs": "bundler exec jekyll build --incremental --config docs/_config.yml,docs/_config.localhost.yml",
"bundle": "npm run bundle:js && npm run bundle:css",
"bundle:js": "npm run transpile && webpack",
"bundle:css": "npx lessc --clean-css ./docs/src/less/ds4.less ./docs/static/ds4/docs.min.css && npx lessc --clean-css ./docs/src/less/ds6.less ./docs/static/ds6/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:primitivesToDist && npm run copy:tokensToDist && npm run copy:mixinsToDist && npm run copy:svgToDist",
"copy:primitivesToDist": "mkdirp dist/primitives && ncp src/less/primitives dist/primitives",
"copy:tokensToDist": "mkdirp dist/tokens && ncp src/less/tokens dist/tokens",
"copy:mixinsToDist": "mkdirp dist/mixins && ncp src/less/mixins dist/mixins",
"copy:svgToDist": "mkdirp dist/svg && ncp src/svg dist/svg/ds4 && ncp src/svg dist/svg/ds6",
"copy:svgToDocs": "ncp src/svg docs/static/common",
"version": "node scripts/jekyll-config && npm run storybook:build && npm run build && git add -A dist docs",
"transpile": "babel docs/src/js --out-dir docs/_babel",
"snapshot": "npm run storybook:build && percy-storybook --widths=1280 --build_dir=docs/storybook",
"storybook:copy-svg-icons": "node scripts/storybook/copy-svg-icons",
"storybook:copy-custom-styles": "node scripts/storybook/copy-custom-styles",
"storybook:build": "npm run storybook:copy-svg-icons && npm run storybook:copy-custom-styles && STORYBOOK_DS=4 build-storybook -o ./docs/ds4/storybook && STORYBOOK_DS=6 build-storybook -o ./docs/storybook",
"storybook:start-proper": "start-storybook -s .",
"storybook:start": "cross-env STORYBOOK_DS=6 npm-run-all -s storybook:copy-svg-icons storybook:copy-custom-styles storybook:start-proper"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@ebay/browserslist-config": "^2.0.2",
"@percy/storybook": "^4",
"@storybook/builder-webpack5": "^6.3.0-alpha.2",
"@storybook/html": "^6.2.7",
"@storybook/manager-webpack5": "^6.3.7",
"babel-loader": "^8",
"browser-sync": "^2.27.5",
"btoa": "^1",
"cross-env": "^7",
"eslint": "^8",
"eslint-config-ebay": "^1",
"eslint-config-prettier": "^8",
"eslint-plugin-prettier": "^4",
"gulp": "^4",
"gulp-banner": "~0.1.3",
"gulp-clean-css": "^4",
"gulp-flatten": "~0.4.0",
"gulp-less": "^5",
"gulp-rename": "^2",
"husky": "^7.0.1",
"jekyll": "^3.0.0-beta1",
"jsdom": "^19.0.0",
"less-loader": "^10.0.1",
"less-plugin-autoprefix": "^2",
"less-plugin-clean-css": "^1.5.1",
"lint-staged": "^12.1.2",
"makeup-active-descendant": "~0.5.0",
"makeup-alert-dialog": "~0.2.0",
"makeup-combobox": "~0.2.0",
"makeup-confirm-dialog": "~0.2.0",
"makeup-dialog": "~0.4.0",
"makeup-dialog-button": "~0.3.0",
"makeup-drawer-dialog": "0.1.0",
"makeup-expander": "~0.10.0",
"makeup-floating-label": "~0.3.0",
"makeup-fullscreen-dialog": "0.1.0",
"makeup-input-dialog": "0.1.0",
"makeup-key-emitter": "~0.3.0",
"makeup-lightbox-dialog": "0.1.0",
"makeup-listbox": "~0.2.0",
"makeup-listbox-button": "~0.3.0",
"makeup-menu": "~0.2.0",
"makeup-menu-button": "~0.2.0",
"makeup-modal": "~0.4.0",
"makeup-navigation-emitter": "~0.5.0",
"makeup-panel-dialog": "0.1.0",
"makeup-prevent-scroll-keys": "~0.2.0",
"makeup-roving-tabindex": "~0.5.0",
"makeup-snackbar-dialog": "0.1.0",
"makeup-switch": "~0.2.0",
"makeup-toast-dialog": "0.1.0",
"mkdirp": "^1",
"ncp": "^2",
"npm-run-all": "^4",
"percy": "~0.28.1",
"postcss-less": "^5.0.0",
"postcss-loader": "^6.1.1",
"prettier": "^2.3.2",
"rimraf": "^3",
"stylelint": "^14",
"stylelint-config-prettier": "^9",
"stylelint-config-standard": "^24",
"stylelint-no-unsupported-browser-features": "^5.0.1",
"stylelint-order": "^5",
"stylelint-prettier": "^2",
"svgo": "^2.4.0",
"webpack": "^5.44.0",
"webpack-cli": "^4.7.2",
"winston": "^3",
"yargs": "^17.1.0"
},
"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"
}
}