-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.08 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
83
84
85
86
87
88
89
90
91
92
93
94
95
{
"name": "toggled",
"private": false,
"author": {
"name": "Ricardo Q. Bazan",
"email": "[email protected]",
"url": "https://rcrd.space"
},
"description": "Tiny library to use feature flags on React",
"version": "0.0.0-development",
"repository": {
"type": "git",
"url": "https://github.com/rqbazan/toggled.git"
},
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"module": "dist/toggled.esm.js",
"files": [
"dist",
"src",
"logo"
],
"keywords": [
"react",
"feature flags",
"flags",
"features",
"hooks",
"typescript",
"types"
],
"engines": {
"node": ">=10"
},
"scripts": {
"watch": "tsdx watch",
"build": "tsdx build",
"test": "tsdx test --passWithNoTests",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why",
"prettier": "prettier --ignore-path .gitignore \"**/*.{ts,tsx,json}\"",
"format": "yarn prettier --write",
"check-format": "yarn prettier --list-different",
"semantic-release": "semantic-release"
},
"peerDependencies": {
"react": ">=16"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^4.11.0",
"@testing-library/react": "^12.1.2",
"@testing-library/react-hooks": "^7.0.2",
"@types/react": "^17.0.34",
"@types/react-dom": "^17.0.11",
"husky": "^6.0.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"semantic-release": "^17.4.3",
"size-limit": "^4.11.0",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typescript": "^4.4.4"
},
"publishConfig": {
"access": "public"
},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"semi": false,
"singleQuote": true,
"arrowParens": "avoid",
"trailingComma": "all",
"printWidth": 120
},
"size-limit": [
{
"path": "dist/toggled.cjs.production.min.js",
"limit": "600 B"
},
{
"path": "dist/toggled.esm.js",
"limit": "650 B"
}
],
"resolutions": {
"tsdx/typescript": "^4.4.4"
}
}