-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
37 lines (37 loc) · 1.11 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
{
"name": "feature-gate",
"version": "1.2.0",
"description": "A library for handling features in large-scale React apps",
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/esm/index.d.ts",
"repository": "https://github.com/w01fgang/react-feature-gate",
"author": "w01fgang<[email protected]>",
"license": "MIT",
"scripts": {
"build": "yarn build:esm && yarn build:cjs",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir lib/cjs",
"postbuild": "cp ./src/index.js.flow ./lib/cjs/ && cp ./src/index.js.flow ./lib/esm/",
"prepublish": "yarn build",
"test": "jest"
},
"devDependencies": {
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "14.0.0",
"@types/jest": "29.5.1",
"@types/react-dom": "18.2.1",
"@typescript-eslint/eslint-plugin": "5.59.1",
"@typescript-eslint/parser": "5.59.1",
"eslint": "8.39.0",
"jest": "29.5.0",
"jest-environment-jsdom": "^29.5.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"ts-jest": "29.1.0",
"typescript": "5.0.4"
},
"files": [
"/lib"
]
}