-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
98 lines (98 loc) · 3.22 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
{
"name": "@openameba/spindle-ui",
"version": "0.51.0",
"main": "./index.js",
"module": "./index.mjs",
"types": "./index.d.ts",
"style": "./index.css",
"sideEffects": [
"*.css"
],
"scripts": {
"test": "run-p bundlesize lint test:interaction",
"lint": "yarn lint:style",
"lint:style": "stylelint '**/*.css'",
"fix": "yarn lint:style --fix",
"test:interaction": "jest",
"prebundlesize": "yarn build",
"bundlesize": "npx bundlesize",
"dev": "yarn storybook:start",
"storybook:start": "start-storybook -p 6006 -c .storybook",
"storybook:build": "build-storybook -o public -c .storybook",
"storybook:deploy": "firebase deploy --only hosting",
"test:regression": "reg-suit run",
"serve": "firebase serve",
"clean": "npx rimraf dist",
"cp": "npx cpx 'dist/**/*' .",
"prebuild": "yarn clean",
"build": "run-p build:*",
"build:script": "run-s build:script:esm build:script:cjs",
"build:script:cjs": "tsc -p tsconfig.cjs.json",
"build:script:esm": "run-s build:script:esm:*",
"build:script:esm:js": "tsc -p tsconfig.esm.json",
"build:script:esm:rename": "npx renamer --find js --replace mjs 'dist/**'",
"build:style": "postcss src/**/*.css src/*.css --base src -d dist/",
"preicon": "npx rimraf 'src/Icon/!(*.stories).tsx' && npx cpx '../spindle-icons/dist/svg/!(sprite).svg' icon-tmp",
"icon": "svgr --out-dir src/Icon icon-tmp",
"posticon": "npx rimraf icon-tmp",
"prepublishOnly": "yarn build && yarn cp"
},
"license": "MIT",
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@types/react": "^16.8.6 || ^17.0.0",
"react": "^16.8.0 || ^17.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"dependencies": {
"@openameba/spindle-hooks": "^0.11.0",
"ameba-color-palette.css": "^4.8.0",
"react-merge-refs": "^1.1.0"
},
"devDependencies": {
"@mdx-js/react": "^1.6.22",
"@storybook/addon-a11y": "^6.5.9",
"@storybook/addon-actions": "^6.5.9",
"@storybook/addon-backgrounds": "^6.5.9",
"@storybook/addon-docs": "^6.5.9",
"@storybook/addon-viewport": "^6.5.9",
"@storybook/builder-webpack5": "^6.5.9",
"@storybook/manager-webpack5": "^6.5.9",
"@storybook/mdx2-csf": "^0.0.3",
"@storybook/react": "^6.5.9",
"@svgr/cli": "^6.0.0",
"@testing-library/jest-dom": "^5.11.6",
"@testing-library/react": "^12.0.0",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^27.0.0",
"@types/react": "^17.0.1",
"autoprefixer": "^9.8.5",
"babel-loader": "^8.2.5",
"bundlesize": "^0.18.0",
"cssnano": "^4.1.10",
"dialog-polyfill": "^0.5.6",
"firebase-tools": "^11.0.0",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.0.0",
"postcss-cli": "^10.0.0",
"postcss-import": "^15.0.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"reg-suit": "^0.12.0",
"stylelint": "^13.6.1",
"stylelint-config-prettier": "^8.0.2",
"stylelint-config-standard": "^20.0.0",
"stylelint-order": "^4.1.0",
"stylelint-prettier": "^1.1.2",
"stylelint-selector-bem-pattern": "^2.1.0",
"ts-jest": "28.0.8",
"webpack": "^5.73.0"
}
}