-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
70 lines (70 loc) · 2.04 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
{
"name": "alpine-csp-linter",
"displayName": "alpine-csp-linter",
"license": "MIT",
"publisher": "mnik01",
"description": "Will show error if your alpine code is not CSP friendly",
"version": "0.0.3",
"repository": {
"type": "git",
"url": "https://github.com/mnik01/alpine-csp-linter.git"
},
"engines": {
"vscode": "^1.93.0"
},
"categories": [
"Linters",
"Other"
],
"activationEvents": [
"onLanguage:html"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "alpine-csp-linter.helloWorld",
"title": "Hello World"
},
{
"command": "extension.lintAlpineCSP",
"title": "Lint Alpine.js CSP"
}
]
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"package": "pnpm vsce package --no-dependencies",
"publish": "pnpm vsce publish --no-dependencies",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"compile": "pnpm run check-types && pnpm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/babel__traverse": "^7.20.6",
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@types/vscode": "^1.93.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.23.1",
"eslint": "^9.9.1",
"npm-run-all": "^4.1.5",
"typescript": "^5.5.4",
"vsce": "^2.15.0"
},
"dependencies": {
"@babel/parser": "^7.25.6",
"@babel/traverse": "^7.25.6"
}
}