generated from flexcodelabs/react-package-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
38 lines (38 loc) · 992 Bytes
/
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
{
"name": "react-sarufi-chatbox",
"version": "0.5.1",
"description": "",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"directories": {
"example": "example"
},
"scripts": {
"clean": "rimraf lib/",
"copy-esm-files": "copyfiles -u 1 src/**/*.css src/*.css lib/esm",
"copy-cjs-files": "copyfiles -u 1 src/**/*.css src/*.css lib/cjs",
"build": "npm run clean && npm run copy-esm-files && npm run copy-cjs-files && npm run build:esm && npm run build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir lib/cjs"
},
"author": "",
"license": "ISC",
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"copyfiles": "^2.4.1",
"rimraf": "^3.0.2",
"typescript": "^4.7.4"
},
"files": [
"/lib"
],
"dependencies": {
"axios": "^1.3.4"
}
}