-
Notifications
You must be signed in to change notification settings - Fork 103
/
package.json
executable file
·82 lines (82 loc) · 1.92 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
{
"name": "react-simplemde-editor",
"homepage": "https://react-simplemde-edtior.netlify.app/",
"repository": "https://github.com/RIP21/react-simplemde-editor",
"version": "5.0.0",
"author": "Andrii Los",
"contributors": [
{
"name": "Ben Lodge",
"url": "https://github.com/benrlodge",
"email": "[email protected]"
}
],
"license": "MIT",
"main": "lib/index.js",
"typings": "typings/index.d.ts",
"files": [
"lib",
"typings",
"src"
],
"dependencies": {
"@types/codemirror": "0.0.109",
"@types/marked": "^2.0.2"
},
"peerDependencies": {
"react": ">=16.8.2",
"react-dom": ">=16.8.2",
"easymde": ">= 2.0.0 < 3.0.0"
},
"devDependencies": {
"easymde": "^2.0.0",
"@babel/cli": "^7.13.16",
"@babel/preset-typescript": "^7.13.0",
"@babel/runtime": "^7.14.0",
"@types/codemirror": "0.0.109",
"@types/node": "^12.20.11",
"@types/react": "^17.0.4",
"@types/react-dom": "^17.0.3",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-scripts": "^4.0.3",
"typescript": "^4.2.4",
"prettier": "^2.2.1"
},
"scripts": {
"prebuild:lib": "tsc -p tsconfig.lib.json",
"build:lib": "NODE_ENV=production babel src/SimpleMdeReact.tsx --out-file lib/index.js --source-maps --extensions \".js\",\".jsx\",\".ts\",\".tsx\"",
"prepare": "yarn build:lib",
"demo": "react-scripts start",
"build:demo": "react-scripts build"
},
"eslintConfig": {
"extends": [
"react-app"
]
},
"babel": {
"presets": [
[
"babel-preset-react-app",
{
"useESModules": false,
"absoluteRuntime": false,
"typescript": true
}
]
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}