-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
66 lines (66 loc) · 1.46 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
{
"name": "babel-plugin-define-var",
"version": "0.1.0",
"description": "A babel plugin to make wyw-in-js works with React refresh",
"repository": {
"type": "git",
"url": "https://github.com/siriwatknp/babel-plugin-define-var.git"
},
"author": {
"email": "siriwatkunaporn@gmail.com",
"name": "siriwatknp",
"url": "https://siriwatk.dev"
},
"license": "MIT",
"main": "dist/index.js",
"module": "dist/babel-plugin-define-var.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=10"
},
"scripts": {
"start": "tsdx watch",
"build": "tsdx build",
"test": "tsdx build && tsdx test",
"lint": "tsdx lint",
"prepare": "tsdx build",
"size": "size-limit",
"analyze": "size-limit --why"
},
"peerDependencies": {},
"husky": {
"hooks": {
"pre-commit": "tsdx lint"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"size-limit": [
{
"path": "dist/babel-plugin-define-var.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/babel-plugin-define-var.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@babel/core": "^7.24.0",
"@babel/types": "^7.24.0",
"@size-limit/preset-small-lib": "11.1.1",
"husky": "9.0.11",
"size-limit": "11.1.1",
"tsdx": "0.14.1",
"tslib": "2.6.2",
"typescript": "5.4.2"
}
}