Skip to content

Commit bf1c793

Browse files
author
Leon Si
committed
fix: lint issues
1 parent a0ad66a commit bf1c793

File tree

6 files changed

+3717
-1415
lines changed

6 files changed

+3717
-1415
lines changed

.eslintrc.cjs

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
const createESLintConfig = require('lionconfig');
1+
const createESLintConfig = require('lionconfig/eslint');
22

33
module.exports = createESLintConfig(__dirname);
4-

package.json

+24-25
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
{
22
"name": "embedded-ts",
3+
"type": "module",
34
"version": "0.3.2",
45
"description": "Embedded TypeScript.",
56
"license": "MIT",
6-
"bin": {
7-
"ets": "./bin/cli.js"
8-
},
9-
"repository": {
10-
"type": "git",
11-
"url": "https://github.com/leonzalion/ets.git"
12-
},
13-
"homepage": "https://github.com/leonzalion/ets#readme",
147
"author": {
158
"name": "Leon Si",
169
"email": "[email protected]",
1710
"url": "https://leonzalion.com"
1811
},
19-
"type": "module",
12+
"repository": {
13+
"type": "git",
14+
"url": "https://github.com/leonzalion/ets.git"
15+
},
2016
"exports": "./src/index.ts",
17+
"bin": {
18+
"ets": "./bin/cli.js"
19+
},
20+
"homepage": "https://github.com/leonzalion/ets#readme",
2121
"scripts": {
2222
"preinstall": "pnpm build",
2323
"prepare": "lion-git-hooks",
@@ -29,28 +29,27 @@
2929
"prettier": "prettier --write .",
3030
"typecheck": "tsc --noEmit"
3131
},
32-
"devDependencies": {
33-
"@types/lru-cache": "^7.6.1",
34-
"@types/node": "^17.0.31",
35-
"@types/xml-escape": "^1.1.0",
36-
"desm": "^1.2.0",
37-
"eslint-define-config": "^1.4.0",
38-
"execa": "^6.1.0",
39-
"lionconfig": "^1.7.3",
40-
"tslib": "^2.4.0",
41-
"typescript": "^4.6.4",
42-
"vitest": "^0.10.2"
43-
},
4432
"dependencies": {
4533
"change-case": "^4.1.2",
46-
"commander": "^9.2.0",
47-
"esbuild": "^0.14.38",
34+
"commander": "^9.4.1",
35+
"esbuild": "^0.15.11",
4836
"escape-string-regexp": "^5.0.0",
49-
"lru-cache": "^7.9.0",
37+
"lru-cache": "^7.14.0",
5038
"outdent": "^0.8.0",
5139
"xml-escape": "^1.1.0"
5240
},
41+
"devDependencies": {
42+
"@types/node": "^18.8.5",
43+
"@types/xml-escape": "^1.1.1",
44+
"desm": "^1.3.0",
45+
"eslint-define-config": "^1.7.0",
46+
"execa": "^6.1.0",
47+
"lionconfig": "^1.8.11",
48+
"tslib": "^2.4.0",
49+
"typescript": "^4.8.4",
50+
"vitest": "^0.24.3"
51+
},
5352
"publishConfig": {
5453
"directory": "dist"
5554
}
56-
}
55+
}

0 commit comments

Comments
 (0)