This repository has been archived by the owner on Dec 30, 2022. It is now read-only.
forked from xyflow/xyflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 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
{
"name": "@zerocmd/react-flow-renderer",
"version": "10.3.6",
"engines": {
"node": ">=16"
},
"main": "lib/index.js",
"module": "lib/index.js",
"sideEffects": false,
"types": "lib/index.d.ts",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/zerocmd/react-flow.git"
},
"scripts": {
"build:lib": "babel src --out-dir lib --copy-files --extensions \".ts,.tsx\" ",
"publish-package": "rimraf lib && npm ci && npm run build:lib && npm publish",
"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.0",
"classcat": "5.0.3",
"d3-drag": "3.0.0",
"d3-selection": "3.0.0",
"d3-zoom": "3.0.0",
"zustand": "3.7.2"
},
"devDependencies": {
"@babel/cli": "7.17.10",
"@babel/core": "7.18.0",
"@babel/plugin-transform-runtime": "7.18.0",
"@babel/preset-env": "7.18.0",
"@babel/preset-react": "7.17.12",
"@babel/preset-typescript": "7.17.12",
"@emotion/babel-plugin": "11.9.2",
"@emotion/react": "11.9.0",
"@types/d3": "7.4.0",
"@types/react": "18.0.9",
"@types/resize-observer-browser": "0.1.7",
"babel-preset-react-app": "10.0.1",
"glob": "8.0.3",
"is-core-module": "2.9.0",
"prettier": "2.6.2",
"react": "18.1.0",
"react-dom": "18.1.0",
"rimraf": "3.0.2",
"start-server-and-test": "1.14.0",
"typescript": "4.6.4"
},
"peerDependencies": {
"@emotion/react": "^11.9.0",
"react": "16 || 17 || 18",
"react-dom": "16 || 17 || 18"
},
"files": [
"lib"
],
"publishConfig": {
"registry": "https://npm.pkg.github.com/zerocmd"
}
}