-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.43 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
{
"name": "@kne/react-view-render",
"version": "0.2.0",
"description": "一个可以将规定格式的JSON字符串渲染成页面的渲染器",
"homepage": "https://github.com/kne-union/react-view-render",
"main": "dist/index.js",
"module": "dist/index.modern.js",
"source": "src/index.js",
"files": [
"dist"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --config .prettierrc --write",
"git add"
]
},
"scripts": {
"init": "npm install && cd example && npm install",
"start": "run-p start:lib start:example",
"build": "run-s build:lib build:example",
"build:lib": "microbundle --no-compress --format modern,cjs --jsx React.createElement --jsxFragment React.Fragment",
"start:lib": "microbundle watch --no-compress --format modern,cjs --jsx React.createElement --jsxFragment React.Fragment",
"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",
"build:example": "cd example && npm run build",
"start:example": "cd example && npm run start",
"deploy": "gh-pages -d example/build",
"prettier": "prettier --config .prettierrc --write 'src/**/*.{js,jsx,ts,tsx,json,css,scss,md}'"
},
"keywords": [
"react",
"render",
"view"
],
"author": "linzp",
"license": "ISC",
"peerDependencies": {
"@kne/react-form-antd": "2.x",
"@kne/antd-enhance": "0.1.x",
"antd": "4.x",
"prop-types": "15.x",
"react": ">16.x",
"react-dom": ">16.x"
},
"devDependencies": {
"@kne/antd-enhance": "^0.1.8",
"@kne/react-fetch": "^0.1.15",
"@kne/react-form-antd": "^2.0.1",
"antd": "^4.16.13",
"axios": "^0.21.1",
"cross-env": "^7.0.3",
"gh-pages": "^3.2.3",
"http-proxy-middleware": "^2.0.1",
"husky": "^7.0.2",
"microbundle": "^0.13.3",
"node-sass": "^6.0.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-scripts": "^4.0.3"
},
"dependencies": {
"@kne/compose": "^0.1.0",
"@kne/react-error-boundary": "^0.1.1",
"@kne/react-text-escape": "^0.1.4",
"@loadable/component": "^5.15.0",
"classnames": "^2.3.1",
"fbemitter": "^3.0.0",
"lodash": "^4.17.21"
}
}