-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
98 lines (98 loc) · 3.47 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
{
"name": "gerador-cpf-cnpj",
"displayName": "Gerador de CPF/CNPJ",
"description": "Gera CPFs e CNPJs válidos e insere diretamente no código",
"version": "1.3.0",
"publisher": "brunobastosg",
"repository": {
"type": "git",
"url": "https://github.com/brunobastosg/gerador-cpf-cnpj-vscode"
},
"license": "MIT",
"engines": {
"vscode": "^1.75.0"
},
"categories": [
"Other"
],
"icon": "images/icon.png",
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "extension.gerarCPF",
"title": "Gerar CPF",
"category": "Gerador de CPF/CNPJ"
},
{
"command": "extension.gerarCNPJ",
"title": "Gerar CNPJ",
"category": "Gerador de CPF/CNPJ"
}
],
"menus": {
"editor/context": [
{
"command": "extension.gerarCPF",
"group": "1_modification",
"when": "config.geradorCpfCnpj.habilitarMenuDeContexto"
},
{
"command": "extension.gerarCNPJ",
"group": "1_modification",
"when": "config.geradorCpfCnpj.habilitarMenuDeContexto"
}
]
},
"configuration": {
"type": "object",
"title": "Gerador de CPF/CNPJ",
"properties": {
"geradorCpfCnpj.somenteNumeros": {
"type": "boolean",
"default": false,
"description": "Gera somente os números do CPF/CNPJ, sem a máscara."
},
"geradorCpfCnpj.habilitarMenuDeContexto": {
"type": "boolean",
"default": true,
"description": "Habilita a opção de gerar CPF/CNPJ através do menu de contexto."
},
"geradorCpfCnpj.habilitarCnpjAlfanumerico": {
"type": "boolean",
"default": true,
"description": "Habilita a geração de CNPJ alfanumérico, cuja previsão de implantação é janeiro de 2026."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm 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",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test",
"deploy": "vsce publish --yarn"
},
"devDependencies": {
"@types/mocha": "^10.0.8",
"@types/node": "20.x",
"@types/vscode": "^1.75.0",
"@typescript-eslint/eslint-plugin": "^8.7.0",
"@typescript-eslint/parser": "^8.7.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"@vscode/vsce": "^3.1.1",
"esbuild": "^0.24.0",
"eslint": "^9.11.1",
"npm-run-all": "^4.1.5",
"typescript": "^5.6.2"
}
}