-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
115 lines (115 loc) · 3.24 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
{
"name": "@web/dev-server-esbuild",
"version": "1.0.2",
"publishConfig": {
"access": "public"
},
"description": "Plugin for using esbuild in @web/dev-server",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/modernweb-dev/web.git",
"directory": "packages/dev-server-esbuild"
},
"author": "modern-web",
"homepage": "https://github.com/modernweb-dev/web/tree/master/packages/dev-server-esbuild",
"main": "dist/index.js",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.mjs",
"require": "./dist/index.js"
}
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"build": "tsc",
"start:demo:jsx": "es-dev-server --config demo/jsx/server.config.js",
"start:demo:ts": "es-dev-server --config demo/ts/server.config.js",
"test": "mocha \"test/**/*.test.ts\" --require ts-node/register --reporter dot",
"test:watch": "mocha \"test/**/*.test.ts\" --require ts-node/register --watch --watch-files src,test",
"lint": "npm run lint:eslint && npm run lint:prettier",
"lint:eslint": "eslint --ext .ts,.js,.mjs,.cjs .",
"lint:prettier": "prettier \"**/*.{ts,js,mjs,cjs,md}\" --check --ignore-path .eslintignore",
"format": "npm run format:eslint && npm run format:prettier",
"format:eslint": "eslint --ext .ts,.js,.mjs,.cjs . --fix",
"format:prettier": "prettier \"**/*.{ts,js,mjs,cjs,md}\" \"**/package.json\" --write --ignore-path .eslintignore"
},
"files": [
"*.d.ts",
"*.js",
"*.mjs",
"dist",
"src"
],
"keywords": [
"web",
"dev",
"server",
"test",
"runner",
"testrunner",
"typescript",
"jsx",
"compile",
"transform"
],
"dependencies": {
"@mdn/browser-compat-data": "^4.0.0",
"@web/dev-server-core": "^0.7.0",
"esbuild": "^0.19.11",
"get-tsconfig": "^4.7.2",
"parse5": "^6.0.1",
"ua-parser-js": "^1.0.33"
},
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/mocha": "^10.0.6",
"@types/ua-parser-js": "^0.7.35",
"@typescript-eslint/eslint-plugin": "^6.18.0",
"@web/dev-server-rollup": "^0.6.1",
"chai": "^4.4.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"lit-element": "^3.0.0 || ^4.0.1",
"mocha": "^10.2.0",
"node-fetch": "^2.7.0",
"portfinder": "^1.0.32",
"preact": "^10.5.9",
"prettier": "^3.1.1",
"ts-node": "^10.9.2"
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"eslint-config-prettier",
"plugin:@typescript-eslint/recommended"
],
"env": {
"node": true,
"mocha": true,
"es2020": true
},
"rules": {
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/ban-ts-comment": "off"
}
},
"prettier": {
"singleQuote": true,
"arrowParens": "avoid",
"printWidth": 100,
"trailingComma": "all"
}
}