-
Notifications
You must be signed in to change notification settings - Fork 31
/
package.json
113 lines (113 loc) · 3.93 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
104
105
106
107
108
109
110
111
112
113
{
"name": "react-code-view",
"version": "2.4.0",
"description": "Code view for React",
"main": "cjs/index.js",
"module": "esm/index.js",
"typings": "esm/index.d.ts",
"scripts": {
"build:esm": "NODE_ENV=esm npx babel --extensions .ts,.tsx src --out-dir dist/esm",
"build:cjs": "NODE_ENV=commonjs npx babel --extensions .ts,.tsx src --out-dir dist/cjs",
"build:types": "npx tsc --emitDeclarationOnly --outDir dist/cjs && npx tsc --emitDeclarationOnly --outDir dist/esm",
"build:gulp": "gulp build",
"build:docs": "rm -rf assets && webpack --mode production --config ./docs/webpack.config.js",
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:types && npm run build:gulp",
"clean": "rimraf dist",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
"dev": "webpack serve --mode development --port 3100 --host 0.0.0.0 --progress --config ./docs/webpack.config.js",
"format": "prettier --write \"{src,test}/**/*.{tsx,ts,js}\"",
"format:check": "prettier --list-different \"{src,test}/**/*.{tsx,ts,js}\"",
"lint": "eslint src/**/*.{ts,tsx}",
"publish:docs": "node docs/gh-pages.js",
"prepublishOnly": "npm run build",
"test:watch": "jest --watch ",
"test": "npm run format:check && npm run lint && jest",
"prepare": "husky install"
},
"repository": {
"type": "git",
"url": "git+https://github.com/simonguo/react-code-view.git"
},
"keywords": [
"markdown-viewer",
"markdown-loader",
"code-view",
"editor"
],
"author": "[email protected]",
"license": "MIT",
"bugs": {
"url": "https://github.com/simonguo/react-code-view/issues"
},
"homepage": "https://github.com/simonguo/react-code-view#readme",
"dependencies": {
"@babel/runtime": "^7.18.6",
"@types/codemirror": "5.60.5",
"classnames": "^2.2.5",
"codemirror": "5.65.6",
"copy-to-clipboard": "^3.3.3",
"highlight.js": "^11.5.1",
"html-loader": "^3.1.2",
"marked": "^4.0.17",
"sucrase": "^3.24.0"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-export-default-from": "^7.12.13",
"@babel/plugin-proposal-export-namespace-from": "^7.12.13",
"@babel/plugin-proposal-optional-chaining": "^7.6.0",
"@babel/plugin-transform-runtime": "^7.1.0",
"@babel/preset-env": "^7.7.7",
"@babel/preset-react": "^7.7.4",
"@babel/preset-typescript": "^7.12.7",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.1.5",
"@types/jest": "^28.1.4",
"@types/node": "^18.0.3",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"autoprefixer": "^10.4.7",
"babel-loader": "^8.1.0",
"conventional-changelog-cli": "^2.2.2",
"css-loader": "^6.7.1",
"cssnano": "^5.1.12",
"eslint": "^7.25.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-react": "^7.23.2",
"eslint-plugin-react-hooks": "^4.2.0",
"gh-pages": "^1.1.0",
"gulp": "^4.0.2",
"gulp-less": "^5.0.0",
"gulp-postcss": "^9.0.1",
"gulp-rename": "^2.0.0",
"gulp-sourcemaps": "^3.0.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"jest": "^28.1.2",
"jest-environment-jsdom": "^28.1.2",
"less": "^4.1.3",
"less-loader": "^11.0.0",
"markdown-loader": "^8.0.0",
"mini-css-extract-plugin": "^2.6.1",
"postcss": "^8.4.14",
"prettier": "^2.4.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^5.0.5",
"rsuite": "^5.51.0",
"typescript": "^4.6.4",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^3.11.2"
}
}