-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
52 lines (52 loc) · 1.7 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
{
"name": "babel-plugin-mobx-observer-on-every-react-component",
"version": "0.1.16",
"description": "Wrap literally every React component in an MobX observer higher order component.",
"keywords": [
"babel-plugin",
"mobx",
"mobx-react",
"react",
"observer",
"babel"
],
"homepage": "https://github.com/coolsoftwaretyler/babel-plugin-mobx-observer-on-every-react-component",
"bugs": "https://github.com/coolsoftwaretyler/babel-plugin-mobx-observer-on-every-react-component/issues",
"license": "MIT",
"author": "Tyler Williams",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js",
"default": "./dist/index.cjs.js"
}
},
"files": [
"dist/index.cjs.js",
"dist/index.esm.js",
"src/index.ts"
],
"repository": "https://github.com/coolsoftwaretyler/babel-plugin-mobx-observer-on-every-react-component",
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/core": "^7.25.2",
"@babel/plugin-proposal-decorators": "^7.24.7",
"@babel/plugin-syntax-decorators": "^7.24.7",
"@babel/preset-env": "^7.25.4",
"@babel/preset-react": "^7.24.7",
"@types/babel__core": "^7.20.5",
"@types/babel__helper-plugin-utils": "^7.10.3",
"mobx": "^6.13.1",
"mobx-react": "^9.1.1",
"rimraf": "^5.0.0",
"typescript": "^5.0.0"
},
"scripts": {
"clean": "rimraf dist",
"build": "bun run clean && bun run build:cjs && bun run build:esm",
"build:cjs": "tsc --module commonjs --outDir dist && mv dist/index.js dist/index.cjs.js",
"build:esm": "tsc --module es2015 --outDir dist && mv dist/index.js dist/index.esm.js"
}
}