forked from xyflow/xyflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
103 lines (103 loc) · 3.31 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
{
"name": "react-flow-renderer",
"version": "10.3.16",
"engines": {
"node": ">=14"
},
"main": "dist/umd/index.js",
"module": "dist/esm/index.js",
"jsdelivr": "dist/umd/index.js",
"unpkg": "dist/umd/index.js",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/umd/index.js"
},
"./nocss": {
"import": "./dist/nocss/esm/index.js",
"require": "./dist/nocss/umd/index.js"
},
"./package.json": "./package.json",
"./dist/style.css": "./dist/style.css",
"./dist/theme-default.css": "./dist/theme-default.css"
},
"sideEffects": false,
"types": "dist/esm/index.d.ts",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wbkd/react-flow.git"
},
"scripts": {
"build": "rimraf dist && rollup -c --environment NODE_ENV:production && npm run css",
"build:test": "rimraf dist && rollup -c --environment NODE_ENV:test && npm run css",
"start": "rollup -w -c",
"start:examples": "cd example && npm start",
"build:examples": "cd example && npm run build",
"start:testserver": "npm run build:test && npm run start:examples",
"build:dev": "npm install && npm run build && cd example && npm install && npm run build",
"dev:wait": "start-server-and-test start:testserver http-get://localhost:3000",
"test": "cross-env BROWSER=none npm run dev:wait test:chrome",
"test:chrome": "cypress run --browser chrome --headless",
"test:firefox": "cypress run --browser firefox",
"test:all": "npm run test:chrome && npm run test:firefox",
"cypress": "npm run dev:wait cy:open",
"cy:open": "cypress open",
"release": "npm run test && release-it",
"release:notest": "release-it",
"release:next": "release-it --preRelease=next --no-git",
"css": "postcss src/*.css --dir dist"
},
"dependencies": {
"@babel/runtime": "^7.18.9",
"classcat": "^5.0.3",
"d3-drag": "^3.0.0",
"d3-selection": "^3.0.0",
"d3-zoom": "^3.0.0",
"zustand": "^3.7.2",
"@types/d3": "^7.4.0",
"@types/resize-observer-browser": "^0.1.7"
},
"devDependencies": {
"@babel/core": "^7.18.9",
"@babel/plugin-transform-runtime": "^7.18.9",
"@babel/preset-env": "^7.18.9",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-replace": "^4.0.0",
"autoprefixer": "^10.4.7",
"babel-preset-react-app": "^10.0.1",
"cross-env": "^7.0.3",
"cypress": "^9.6.1",
"postcss": "^8.4.14",
"postcss-cli": "^10.0.0",
"postcss-nested": "^5.0.6",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"release-it": "^15.1.2",
"rimraf": "^3.0.2",
"rollup": "^2.77.0",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-serve": "^2.0.0",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.32.1",
"rollup-plugin-visualizer": "^5.7.1",
"start-server-and-test": "^1.14.0",
"typescript": "^4.7.4",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6"
},
"peerDependencies": {
"react": "16 || 17 || 18",
"react-dom": "16 || 17 || 18"
},
"files": [
"dist",
"nocss"
]
}