-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
102 lines (102 loc) · 3.28 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
{
"name": "treeview-component",
"version": "2.0.1",
"description": "React TreeView for tree data structure representation",
"author": "pavloid21",
"license": "MIT",
"repository": "pavloid21/treeview-component",
"main": "lib/cjs/index.js",
"module": "lib/esm/index.js",
"types": "lib/esm/index.d.ts",
"engines": {
"node": ">=10"
},
"keywords": [
"react",
"tree diagram",
"tree",
"treeview",
"tree-view",
"react-component",
"diagram"
],
"scripts": {
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "tsc && yarn copy-files:esm",
"build:cjs": "tsc --module commonjs --outDir lib/cjs && yarn copy-files:cjs",
"start": "webpack-dev-server --open --config ./webpack.config.js --mode development",
"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": "tslint -p tsconfig.json",
"format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\" \"src/**/*.tsx\"",
"copy-files:esm": "copyfiles -u 1 src/**/*.css lib/esm/src",
"copy-files:cjs": "copyfiles -u 1 src/**/*.css lib/cjs/src"
},
"peerDependencies": {
"react": "^16.0.0"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-syntax-class-properties": "^7.10.4",
"@babel/plugin-transform-arrow-functions": "^7.10.4",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@babel/register": "^7.11.5",
"@types/html-webpack-plugin": "^3.2.6",
"@types/react": "^18.0.8",
"@types/react-dom": "^18.0.0",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.1.0",
"babel-plugin-syntax-class-properties": "^6.13.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"clean-webpack-plugin": "^3.0.0",
"copyfiles": "^2.4.1",
"cross-env": "^7.0.2",
"css-loader": "^4.2.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.4",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.7.0",
"eslint-config-standard": "^14.1.0",
"eslint-config-standard-react": "^9.2.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-standard": "^4.0.1",
"gh-pages": "^2.2.0",
"html-webpack-plugin": "^5.5.0",
"microbundle-crl": "^0.13.10",
"mini-css-extract-plugin": "^0.11.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.2",
"react": "^18.1.0",
"react-dom": "^16.13.1",
"react-scripts": "^3.4.3",
"style-loader": "^1.2.1",
"ts-loader": "^9.2.9",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-plugin-prettier": "^2.3.0",
"typed-scss-modules": "^6.3.0",
"typescript": "^4.2.4",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2"
},
"files": [
"lib/**/*"
],
"dependencies": {
"@types/lodash": "^4.14.182",
"react-easy-panzoom": "^0.4.4"
}
}