-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
113 lines (113 loc) · 3.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
{
"name": "@openameba/spindle-ui",
"version": "1.6.0",
"main": "./index.js",
"module": "./index.mjs",
"types": "./index.d.ts",
"style": "./index.css",
"sideEffects": [
"*.css"
],
"scripts": {
"generate": "scaffdog generate",
"test": "run-p size lint test:interaction",
"lint": "yarn lint:style",
"lint:style": "stylelint '**/*.css'",
"fix": "yarn lint:style --fix",
"test:interaction": "jest",
"presize": "yarn build",
"size": "bundlewatch --config .bundlewatch.config.js",
"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": "run-s icon:react icon:connect",
"posticon": "npx rimraf icon-tmp",
"icon:react": "svgr --out-dir src/Icon icon-tmp",
"icon:connect": "npx tsx scripts/figma-connect-icons.ts",
"prepublishOnly": "yarn build && yarn cp"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/openameba/spindle.git"
},
"publishConfig": {
"access": "public"
},
"peerDependencies": {
"@types/react": "^16.8.6 || ^17.0.0 || ^18.0.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"dependencies": {
"@openameba/spindle-hooks": "^1.3.0",
"ameba-color-palette.css": "^4.9.0",
"react-merge-refs": "^1.1.0"
},
"devDependencies": {
"@figma/code-connect": "^1.1.3",
"@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": "^1.0.0",
"@storybook/react": "^6.5.9",
"@svgr/cli": "^8.0.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^16.0.1",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^29.5.13",
"@types/react": "^18.3.3",
"autoprefixer": "^10.0.0",
"babel-loader": "^9.0.0",
"bundlewatch": "^0.4.0",
"cssnano": "^7.0.0",
"dialog-polyfill": "^0.5.6",
"dotenv": "^16.4.5",
"figma-api": "^1.11.0",
"firebase-tools": "^13.0.0",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.0.0",
"postcss": "^8.4.27",
"postcss-cli": "^11.0.0",
"postcss-import": "^16.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"reg-keygen-git-hash-plugin": "^0.14.0",
"reg-notify-github-plugin": "^0.14.0",
"reg-publish-gcs-plugin": "^0.14.0",
"reg-suit": "^0.14.0",
"scaffdog": "^4.0.0",
"stylelint": "^15.0.0",
"stylelint-config-prettier": "^9.0.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-order": "^6.0.0",
"stylelint-prettier": "^4.0.0",
"stylelint-selector-bem-pattern": "^3.0.0",
"ts-jest": "29.2.5",
"webpack": "^5.73.0"
}
}