-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
79 lines (79 loc) · 2.22 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
{
"name": "react-declassify",
"version": "0.2.0",
"description": "say goodbye to class components [EXPERIMENTAL]",
"keywords": [
"babel-plugin",
"babel-codemod",
"react"
],
"homepage": "https://github.com/wantedly/react-declassify",
"repository": {
"type": "git",
"url": "https://github.com/wantedly/react-declassify.git"
},
"bugs": {
"url": "https://github.com/wantedly/react-declassify/issues"
},
"license": "MIT",
"author": "Masaki Hara <ackie.h.gmai@gmail.com>",
"packageManager": "yarn@3.5.0",
"type": "module",
"main": "./cjs/dist/index.js",
"exports": {
"import": "./dist/index.js",
"require": "./cjs/dist/index.js"
},
"files": [
"cjs/dist/**/*",
"cjs/package.json",
"dist/**/*",
"src/**/*",
"!**/*.test.ts"
],
"scripts": {
"build": "$npm_execpath build:esm && $npm_execpath build:cjs",
"build:cjs": "babel -x .ts -d cjs/dist src --ignore '**/*.test.ts' --config-file ./babel-cjs.config.js",
"build:esm": "babel -x .ts -d dist src --ignore '**/*.test.ts'",
"fmt": "prettier -w .",
"fmt:check": "prettier -c .",
"lint": "eslint .",
"prepack": "$npm_execpath build",
"test": "NODE_OPTIONS='--experimental-vm-modules' yarn jest"
},
"devDependencies": {
"@babel/cli": "^7.21.0",
"@babel/core": "^7.21.3",
"@babel/eslint-plugin-development": "^7.19.1",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.21.0",
"@babel/types": "^7.21.3",
"@codemod/core": "^2.2.0",
"@jest/globals": "^29.5.0",
"@qnighy/dedent": "^0.1.1",
"@types/babel__core": "^7.20.0",
"@types/babel__traverse": "^7.18.3",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"@yarnpkg/sdks": "^3.0.0-rc.42",
"babel-jest": "^29.5.0",
"eslint": "^8.37.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-node": "^11.1.0",
"jest": "^29.5.0",
"prettier": "^2.8.7",
"ts-jest-resolver": "^2.0.1",
"typescript": "^5.0.3"
},
"jest": {
"extensionsToTreatAsEsm": [
".ts",
".mts",
".tsx",
".jsx"
],
"resolver": "ts-jest-resolver"
}
}