-
Notifications
You must be signed in to change notification settings - Fork 42
/
package.json
116 lines (116 loc) · 3.24 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
114
115
116
{
"name": "@react-three/flex",
"version": "1.0.0",
"description": "`<Flex />` component for the 3D World.",
"keywords": [
"react",
"three",
"r3f",
"react-three-fiber",
"3d",
"flex",
"flexbox",
"yoga",
"yoga-layout"
],
"repository": {
"type": "git",
"url": "git+https://github.com/pmndrs/react-three-flex.git"
},
"bugs": {
"url": "https://github.com/pmndrs/react-three-flex/issues"
},
"homepage": "https://github.com/pmndrs/react-three-flex#readme",
"license": "MIT",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
},
"./package.json": "./package.json",
"./": "./"
},
"files": [
"dist"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint --fix"
]
},
"scripts": {
"build": "rollup -c",
"postbuild": "tsc --emitDeclarationOnly",
"prepublishOnly": "npm run build",
"eslint": "eslint src --fix --ext=js,ts,tsx,jsx",
"eslint-examples": "eslint examples/src --fix --ext=js,ts,tsx,jsx",
"eslint:ci": "eslint src examples/src --fix --ext=js,ts,tsx,jsx",
"test": "echo no tests yet",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"dependencies": {
"@react-pdf/yoga": "^2.0.4",
"react-merge-refs": "^1.1.0"
},
"devDependencies": {
"@babel/core": "7.17.9",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-transform-modules-commonjs": "7.17.9",
"@babel/plugin-transform-parameters": "7.16.7",
"@babel/plugin-transform-runtime": "7.17.0",
"@babel/plugin-transform-template-literals": "7.16.7",
"@babel/preset-env": "7.16.11",
"@babel/preset-react": "7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@react-three/drei": "^9.4.3",
"@react-three/fiber": "^8.0.11",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^21.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.2.1",
"@storybook/addon-controls": "^6.4.22",
"@storybook/addon-storysource": "^6.4.22",
"@storybook/react": "^6.4.22",
"@types/jest": "^27.4.1",
"@types/node": "^17.0.24",
"@types/react": "^18.0.5",
"@types/react-dom": "^18.0.1",
"@types/react-test-renderer": "^18.0.0",
"@types/three": "^0.139.0",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"babel-loader": "^8.2.4",
"eslint": "^8.13.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.1.4",
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.4.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.8",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.70.2",
"rollup-plugin-filesize": "^9.1.2",
"rollup-plugin-terser": "^7.0.2",
"three": "^0.139.2",
"ts-jest": "^27.1.4",
"typescript": "^4.6.3"
},
"peerDependencies": {
"@react-three/fiber": ">=8.0",
"react": "^18.0.0",
"three": ">=0.137"
}
}