-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
95 lines (95 loc) · 2.44 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
{
"name": "ast-metadata-inferer",
"version": "0.8.1",
"main": "compat.json",
"repository": "[email protected]:amilajack/ast-metadata-inferer.git",
"author": "Amila Welihinda <[email protected]>",
"license": "MIT",
"devDependencies": {
"@tsconfig/node16": "^1.0.3",
"@types/jest": "^29.4.0",
"@types/node": "^18.13.0",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"electron": "^23.0.0",
"eslint": "^8.33.0",
"eslint-config-bliss": "^6.0.5",
"jest": "^29.4.2",
"puppeteer": "^19.6.3",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"scripts": {
"build": "rm -rf lib && tsc && npm run metadata && npm run compat",
"compat": "ts-node ./src/compat.ts",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"metadata": "ts-node ./src/metadata.ts",
"preversion": "npm test && npm run compat && tsc --project tsconfig.build.json",
"start": "npm run metadata",
"test": "jest && npm run build"
},
"files": [
"lib",
"compat.json",
"metadata.json"
],
"eslintConfig": {
"extends": [
"plugin:import/errors",
"plugin:import/typescript",
"prettier/@typescript-eslint",
"plugin:prettier/recommended",
"plugin:promise/recommended"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"import/extensions": "off",
"prettier/prettier": [
"error"
]
},
"overrides": [
{
"extends": [
"bliss",
"plugin:import/typescript",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended",
"plugin:promise/recommended"
],
"files": [
"*.ts",
"*.tsx"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
"import/default": "off",
"import/extensions": "off",
"import/no-extraneous-dependencies": "off",
"@typescript-eslint/no-var-requires": "off"
}
},
{
"files": [
"*.spec.ts",
"*.spec.tsx"
],
"rules": {
"@typescript-eslint/ban-ts-ignore": "off"
}
}
]
},
"dependencies": {
"@mdn/browser-compat-data": "^5.6.19"
}
}