-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpackage.json
69 lines (69 loc) · 2.19 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
{
"name": "@openameba/spindle-hooks",
"version": "1.5.0",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"scripts": {
"test": "run-p size test:interaction",
"test:interaction": "jest --passWithNoTests",
"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",
"serve": "firebase serve",
"presize": "yarn build",
"size": "bundlewatch --config .bundlewatch.config.js",
"clean": "npx rimraf dist",
"prebuild": "yarn clean",
"build": "run-s build:esm build:cjs",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:esm": "run-s build:esm:*",
"build:esm:js": "tsc -p tsconfig.esm.json",
"build:esm:rename": "npx renamer --find js --replace mjs 'dist/**'",
"build:esm:extensionReplace": "jscodeshift -t ../../bin/outputExtensionReplace.js dist/** --extensions=mjs",
"prepublishOnly": "yarn build"
},
"license": "MIT",
"files": [
"dist"
],
"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|| ^19.0.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0|| ^19.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
}
},
"devDependencies": {
"@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/react": "^6.5.9",
"@testing-library/jest-dom": "^6.0.0",
"@testing-library/react": "^13.3.0",
"@testing-library/user-event": "^14.2.1",
"@types/jest": "^29.5.13",
"@types/react": "^18.0.14",
"bundlewatch": "^0.4.0",
"jest": "^29.0.0",
"jest-environment-jsdom": "^29.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-jest": "29.3.0",
"webpack": "^5.73.0"
}
}