generated from flexcodelabs/typescript-packages-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
36 lines (36 loc) · 944 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
{
"name": "@flexcodelabs/button",
"version": "0.1.6",
"private": false,
"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 lib/esm",
"copy-cjs-files": "copyfiles -u 1 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"
]
}