-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
82 lines (82 loc) · 2.61 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
{
"name": "blockin",
"version": "1.3.6",
"description": "",
"files": [
"dist"
],
"main": "./dist/index.js",
"module": "./dist/index.cjs",
"type": "module",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./ui": {
"require": "./dist/ui/index.cjs",
"import": "./dist/ui/index.js",
"default": "./dist/ui/index.js"
},
"./dist/ui": {
"require": "./dist/ui/index.cjs",
"import": "./dist/ui/index.js",
"default": "./dist/ui/index.js"
}
},
"scripts": {
"prepack": "npm run build && rm -rf ./dist/*.map ./dist/ui/*.map",
"test": "echo \"Error: no test specified\" && exit 1",
"build": "rm -rf dist && npm run build:ui && npm run build:core",
"build:ui": "rollup --config ./ui-rollup.config.js && npm run postuirollup",
"build:core": "rollup --config ./rollup.config.js && npm run postcorerollup",
"postcorerollup": "cp ./dist/index.d.ts ./dist/index.d.cts",
"postuirollup": "mv ./dist/index.js* ./dist/ui && mv ./dist/index.cjs* ./dist/ui && cp ./dist/ui/index.d.ts ./dist/ui/index.d.cts",
"storybook": "storybook dev -p 6006",
"storybook:export": "storybook build",
"build-storybook": "storybook build"
},
"keywords": [],
"author": "",
"license": "ISC",
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"prepublishOnly": "npm run build",
"devDependencies": {
"@babel/preset-env": "^7.23.8",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@storybook/addon-essentials": "^7.6.9",
"@storybook/addon-interactions": "^7.6.9",
"@storybook/addon-links": "^7.6.9",
"@storybook/addon-onboarding": "^1.0.11",
"@storybook/addon-styling-webpack": "^1.0.0",
"@storybook/blocks": "^7.6.9",
"@storybook/react": "^7.5.2",
"@storybook/react-webpack5": "^7.6.9",
"@storybook/test": "^7.6.9",
"@types/node": "^17.0.25",
"@types/react": "^18.0.8",
"@types/react-blockies": "^1.4.1",
"@types/react-dom": "^16.9.14",
"autoprefixer": "^10.4.19",
"babel-loader": "^8.2.2",
"babel-preset-react-app": "^10.0.1",
"node-sass": "^8.0.0",
"postcss": "^8.4.38",
"rollup": "^4.3.0",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-typescript2": "^0.31.2",
"sass-loader": "^10.4.1",
"storybook": "^7.6.9",
"tailwindcss": "^3.4.3",
"typedoc": "^0.25.4",
"typescript": "^4.5.5"
}
}