-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathpackage.json
130 lines (130 loc) · 3.37 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "ts-import-plugin",
"version": "3.0.0",
"description": "babel-plugin-import TypeScript version",
"main": "./index.js",
"module": "./esm/index.js",
"jsnext:main": "./next/index.js",
"typings": "./lib/index.d.ts",
"scripts": {
"build": "yarn build:cjs && yarn build:esm && yarn build:next",
"build:cjs": "shx rm -rf lib && tsc -p src/tsconfig.json",
"build:esm": "tsc -p src/tsconfig.json -m esnext --outDir esm -d false",
"build:next": "tsc -p src/tsconfig.json -m esnext --target ES2018 --outDir next -d false",
"cover": "rm -rf ./coverage && c8 --reporter=lcov --exclude=node_modules --exclude=test ava && c8 report",
"lint": "eslint . -c ./.eslintrc.yml 'src/**/*.{ts,tsx}' './*.js'",
"start": "rm -rf dist && NODE_ENV=production webpack",
"test": "ava",
"watch": "tsc -p ./src/tsconfig.json -w --diagnostics",
"postinstall": "husky install",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable"
},
"repository": {
"type": "git",
"url": "git@github.com:Brooooooklyn/ts-import-plugin.git"
},
"keywords": [
"antd",
"TypeScript",
"plugin"
],
"files": [
"lib/",
"esm/",
"next/",
"index.js",
"LICENSE"
],
"author": {
"name": "LongYinan",
"email": "github@lyn.one",
"url": "https://lyn.one"
},
"license": "MIT",
"devDependencies": {
"@swc-node/register": "^1.6.8",
"@swc/core": "^1.3.96",
"@types/lodash": "^4.14.201",
"@types/material-ui": "^0.21.14",
"@types/node": "^22.0.0",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@typescript-eslint/parser": "^8.0.0",
"antd": "^5.11.1",
"ava": "^6.0.0",
"c8": "^10.0.0",
"css-loader": "^7.0.0",
"cssnano": "^7.0.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^10.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-sonarjs": "^0.25.0",
"husky": "9",
"json-schema": "^0.4.0",
"lint-staged": "^15.1.0",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"mini-css-extract-plugin": "^2.7.6",
"pinst": "^3.0.0",
"postcss": "^8.4.31",
"postcss-loader": "^8.0.0",
"prettier": "^3.0.3",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"rollup": "^4.4.0",
"rollup-plugin-typescript2": "^0.36.0",
"rxjs": "^7.8.1",
"shx": "^0.3.4",
"source-map-support": "^0.5.21",
"style-loader": "^4.0.0",
"ts-loader": "^9.5.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"webpack": "^5.89.0",
"webpack-bundle-analyzer": "^4.9.1",
"webpack-cli": "^6.0.0"
},
"peerDependencies": {
"typescript": ">= 4.8"
},
"ava": {
"extensions": [
"ts"
],
"require": [
"@swc-node/register"
],
"files": [
"test/specs.ts"
]
},
"prettier": {
"printWidth": 120,
"semi": false,
"trailingComma": "all",
"singleQuote": true,
"arrowParens": "always"
},
"lint-staged": {
"*.@(js|ts)": [
"eslint -c .eslintrc.yml --fix"
],
"*.@(js|ts|md|json|yml|yaml)": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/Brooooooklyn"
},
"packageManager": "yarn@4.6.0"
}