/
package.json
62 lines (62 loc) · 1.55 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
{
"name": "@podlite/editor-react",
"version": "0.0.24",
"description": "Podlite React component",
"main": "./src/index.tsx",
"types": "lib/index.d.ts",
"typings": "./lib/index.d.ts",
"license": "MIT",
"sideEffects": true,
"files": [
"lib"
],
"jest": {
"preset": "ts-jest",
"snapshotSerializers": [
"jest-serializer-html"
]
},
"exports1": {
".": {
"import": "./lib/index.esm.js",
"require": "./lib/index.cjs"
},
"./types": {
"import": "./lib/index.d.ts",
"require": "./dist/index.d.cts"
},
"./import": "./lib/index.js",
"./require": "./lib/index.cjs",
"./lib/Editor.css": "./lib/index.esm.css",
"./lib/index.css": "./lib/index.css"
},
"publishConfig": {
"access": "public",
"module": "lib/index.esm.js",
"main": "lib/index.cjs",
"types": "lib/index.d.ts"
},
"scripts": {
"clean": "rm -rf dist lib tsconfig.tsbuildinfo esm",
"build": "run-p build:cjs build:esm build:types",
"build:cjs": "ts-node ./scripts/build.ts",
"build:esm": "ts-node ./scripts/build_esm.ts",
"build:types": "tsc --declaration --emitDeclarationOnly",
"test": "yarn g:jest --passWithNoTests"
},
"dependencies": {
"codemirror": "5.x",
"react-codemirror2": "7.3.0",
"react-is": "^17.0.0"
},
"devDependencies": {
"@yarnpkg/esbuild-plugin-pnp": "^2.0.0",
"esbuild": "^0.11.12",
"npm-run-all": "^4.1.5",
"ts-node": "^9.1.1"
},
"peerDependencies": {
"react": "^16.0.0 || ^17.0.0 ",
"react-dom": "^16.0.0 || ^17.0.0"
}
}