Logo SnipCode.fr SnipCode.fr
Partagez un extrait de code en quelques secondes.
Ajouter un code
vscode json json
Voici votre URL de partage
Cliquer pour copier dans le presse-papiers. Copié
Nom du fichier : package.json
{
	"name": "share-on-sharemycode-io",
	"displayName": "Share on SnipCode.fr",
	"publisher": "Nouvelle-Technofr",
	"description": "Easily share snippets on SnipCode.fr website",
	"version": "2.0.0",
	"engines": {
		"vscode": "^1.63.0"
	},
	"categories": [
		"Other"
	],
	"icon": "images/logo.png",
	"activationEvents": [
		"onCommand:share-on-snipcode.share"
	],
	"main": "./dist/extension.js",
	"contributes": {
		"commands": [
			{
				"command": "share-on-snipcode.share",
				"title": "Share on SnipCode"
			}
		],
		"menus": {
			"editor/context": [
				{
					"command": "share-on-snipcode.share",
					"group": "navigation"
				}
			]
		},
		"configuration": {
			"title": "Share on SnipCode",
			"properties": {
				"share-on-snipcode.defaultAction": {
					"type": "string",
					"default": "ask",
					"enum": [
						"ask",
						"copy",
						"open"
					],
					"enumDescriptions": [
						"Always ask action to be performed",
						"Always copy link to clipboard",
						"Always open link in browser"
					]
				}
			}
		}
	},
	"scripts": {
		"vscode:prepublish": "npm run package",
		"compile": "webpack --config ./build/node-extension.webpack.config.js",
		"watch": "webpack --watch --config ./build/node-extension.webpack.config.js",
		"package": "webpack --mode production --devtool hidden-source-map --config ./build/node-extension.webpack.config.js",
		"test-compile": "tsc -p ./",
		"test-watch": "tsc -watch -p ./",
		"pretest": "npm run test-compile && npm run lint",
		"lint": "eslint src --ext ts",
		"test": "node ./out/test/runTest.js"
	},
	"devDependencies": {
		"@types/glob": "^7.1.3",
		"@types/mocha": "^8.0.4",
		"@types/node": "^12.11.7",
		"@types/vscode": "^1.52.0",
		"@typescript-eslint/eslint-plugin": "^4.9.0",
		"@typescript-eslint/parser": "^4.9.0",
		"eslint": "^7.15.0",
		"glob": "^7.1.6",
		"mocha": "^8.1.3",
		"ts-loader": "^8.0.11",
		"typescript": "^4.1.2",
		"vscode-test": "^1.4.1",
		"webpack": "^5.10.0",
		"webpack-cli": "^4.10.0"
	},
	"dependencies": {
		"axios": "^0.21.1"
	},
	"repository": {
		"type": "git",
		"url": "https://github.com/NouvelleTechno/Share-on-SnipCode.git"
	}
}
Informations
Cet extrait a été créé le
12 May 2026 à 16:26:15
Cet extrait expire le
11 Jun 2026 à 16:26:15
Langage :
json json
Lien
Demander la suppression