-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
65 lines (65 loc) · 1.49 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
{
"name": "babel-plugin-mutable-react-state",
"version": "0.0.3",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"engines": {
"node": ">=12"
},
"files": [
"dist/*"
],
"exports": {
"./package.json": "./package.json",
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"scripts": {
"build": "tsup source/index.ts --format cjs,esm --dts --clean",
"test": "ava",
"fix": "npx prettier --write source/* test/*",
"watch": "npm run build -- --watch source",
"prepublishOnly": "npm run build",
"release": "npx np --branch dev"
},
"dependencies": {
"@babel/types": "^7.16.0"
},
"devDependencies": {
"@babel/core": "^7.16.5",
"@babel/plugin-transform-react-jsx": "^7.16.5",
"@babel/preset-env": "^7.16.5",
"@babel/preset-react": "^7.16.5",
"@types/babel__core": "^7.1.17",
"@types/react": "^17.0.37",
"ava": "^3.15.0",
"np": "^7.6.0",
"prettier": "^2.5.1",
"ts-node": "^10.4.0",
"tsup": "^5.11.4",
"typescript": "^4.5.4"
},
"prettier": {
"bracketSpacing": false,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"useTabs": false
},
"ava": {
"extensions": {
"ts": "module"
},
"nonSemVerExperiments": {
"configurableModuleFormat": true
},
"nodeArguments": [
"--loader=ts-node/esm"
]
}
}