-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
78 lines (78 loc) · 2.69 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
{
"name": "graphjs-react",
"version": "1.0.4",
"description": "This is a graph library",
"author": "gokhanergen-tech",
"license": "MIT",
"repository": "gokhanergen-tech/graphjs-react",
"main": "dist/index.js",
"module": "dist/index.modern.js",
"source": "src/index.tsx",
"engines": {
"node": ">=10"
},
"resolutions":
{
"postcss": "^8.2.10",
"nth-check":"2.1.1",
"autoprefixer": "^10.4.12"
},
"scripts": {
"clean": "rimraf dist && rimraf example/node_modules/graphjs-react",
"copy:linux": "cp dist example\\node_modules\\graphjs-react",
"copy:windows": "xcopy /s /e /y dist example\\node_modules\\graphjs-react",
"build": "npm run clean && microbundle-crl --no-compress --format modern,cjs && mkdir example\\node_modules\\graphjs-react && npm run copy:windows ",
"start": "microbundle-crl watch --no-compress --format modern,cjs",
"prepare": "run-s build",
"test": "run-s test:unit test:lint test:build",
"test:build": "run-s build",
"test:lint": "eslint .",
"test:unit": "cross-env CI=1 react-scripts test --env=jsdom",
"test:watch": "react-scripts test --env=jsdom",
"predeploy": "cd example && yarn install && yarn run build",
"deploy": "gh-pages -d example/build",
"lint": "eslint src/**/*.tsx --fix",
"lint:example": "eslint ./example/src/**/*.tsx --fix",
"prettier": "prettier --config .prettierrc src/**/*.tsx --write"
},
"peerDependencies": {
"react": ">=16.0.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/jest": "^29.5.5",
"@types/node": "^20.7.1",
"@types/react": "^18.2.23",
"@types/react-dom": "^18.2.8",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"babel-eslint": "^10.0.3",
"cross-env": "^7.0.2",
"eslint": "^8.49.0",
"eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.1.0",
"eslint-config-standard-react": "^13.0.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-n": "^16.1.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.17.0",
"gh-pages": "^6.0.0",
"microbundle-crl": "^0.13.11",
"npm-run-all": "^4.1.5",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-preset-env": "^9.1.3",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^5.0.5",
"typescript": "^5.2.2"
},
"files": [
"dist"
],
"keywords": ["graphjs","graph","chart","barchart","piechart","funnelchart","react","nodejs","analytic","analysis"]
}