-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
58 lines (58 loc) · 2.65 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
{
"name": "@imbuejs/core",
"version": "1.0.0",
"description": "Core components and utilities for Imbue Design System",
"main": "build",
"files": [
"build"
],
"publishConfig": {
"directory": "dist"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"clean": "[ -d \"./build\" ] && rm -rf ./build || echo 'build/ removed'",
"build": "yarn clean && ./node_modules/.bin/rollup -c",
"build:watch": "yarn clean && ./node_modules/.bin/rollup -c -w",
"peer-deps:cra": "cd ./test-env/create-react-app && yarn link '@imbuejs/core' && cd ./node_modules/react && yarn link && cd ../react-dom && yarn link && cd ../../../../ && yarn link react && yarn link react-dom",
"link-peer-deps:help": "echo 'When developing locally, React protests with a misleading Rules of Hooks error that occurs because of duplicates of the react and react-dom peer dependencies. As additional test environments get added, new subscripts (i.e., && peer-deps:gatsby && peer-deps:nextjs) will need to be added.'",
"link-peer-deps": "yarn peer-deps:cra",
"local:help": "echo 'Run this script before testing the library in an example project.\n - Copies the package.json to the build folder,\n - Removes existing yarn link,\n - Links to the build folder so that imports work like they will in production,\n - Prevents peer dependency duplicates of react and react-dom'",
"local": "[ -d \"./build\" ] && cp ./package.json ./build/ && rm -rf ~/.config/yarn/link && cd build && yarn link && cd .. && yarn link-peer-deps || echo 'Please run yarn build or yarn build:watch in a separate tab first.'",
"prepublish": "yarn build",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"author": "jeffDevelops",
"license": "MIT",
"devDependencies": {
"@storybook/addon-actions": "^6.1.11",
"@storybook/addon-essentials": "^6.1.11",
"@storybook/addon-links": "^6.1.11",
"@storybook/addons": "^6.1.11",
"@storybook/react": "^6.1.11",
"@storybook/theming": "^6.1.11",
"@types/color": "^3.0.1",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/styled-components": "^5.1.7",
"babel-loader": "8.1.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"rollup": "^2.35.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.29.0",
"storybook-dark-mode": "^1.0.4",
"typescript": "^4.1.3"
},
"dependencies": {
"color": "^3.1.3",
"framer-motion": "^3.1.1",
"styled-components": "^5.2.1"
},
"peerDependencies": {
"react": ">=17.0.1",
"react-dom": ">=17.0.1"
}
}