-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
80 lines (80 loc) · 2.4 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
{
"name": "google-font-importer",
"displayName": "google-font-importer",
"description": "Makes importing google fonts easier and faster",
"version": "1.1.0",
"icon": "media/icon.png",
"engines": {
"vscode": "^1.71.0"
},
"repository": {
"type": "git",
"url": "https://github.com/MyNameJeremy/google-font-importer"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:google-font-importer.importFont",
"onCommand:google-font-importer.importFontWithVariants"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "google-font-importer.importFont",
"title": "Import Google Font with all variants"
},
{
"command": "google-font-importer.importFontWithVariants",
"title": "Import Google Font with specific variants (seperate with commas)"
}
],
"configuration": {
"title": "Google Font Importer",
"properties": {
"google-font-importer.json-url": {
"type": "string",
"default": "https://gist.githubusercontent.com/kungfu321/32950b2c18f4708bf259fe16378d4181/raw/352133282e8427d0ee36f37da3d2b66df69c3928/google-fonts",
"description": "URL of the JSON file that contains the font information"
},
"google-font-importer.import-url": {
"type": "string",
"default": "https://fonts.googleapis.com/css?family=",
"description": "URL to import the font from"
},
"google-font-importer.slice-json-string-start": {
"type": "number",
"default": "0",
"description": "The start index of the desired data in the JSON file"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@types/vscode": "^1.71.0",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"@vscode/test-electron": "^2.1.5",
"eslint": "^8.20.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"typescript": "^4.7.4"
},
"dependencies": {
"axios": "^0.27.2",
"node-fetch": "^3.2.10",
"xmlhttprequest": "^1.8.0"
}
}