129 lines
3.7 KiB
JSON
129 lines
3.7 KiB
JSON
{
|
|
"name": "nicecode-snippets",
|
|
"displayName": "nicecode-react-js-ts-snippets",
|
|
"version": "0.2.1",
|
|
"description": "Extensions for React, React-Native and Redux in JS/TS with ES7+ syntax",
|
|
"publisher": "devlifestyle",
|
|
"icon": "images/logo.png",
|
|
"keywords": [
|
|
"snippets",
|
|
"flow",
|
|
"work",
|
|
"nicecode"
|
|
],
|
|
"author": "dev <710328466@qq.com>",
|
|
"main": "./lib/src/index.js",
|
|
"homepage": "https://nicecoders.github.io/nicecode/#/snippets",
|
|
"scripts": {
|
|
"builder": "vsce package --no-dependencies",
|
|
"vscode:prepublish": "yarn compile",
|
|
"compile": "rm -rf lib; tsc -p ./ --noEmit false --module commonjs --outDir lib",
|
|
"compile:dev": "rm -rf lib; tsc -p ./ --noEmit false --module commonjs --outDir lib",
|
|
"lint": "eslint --ext .js,.ts,.tsx ./src/",
|
|
"watch": "tsc -watch -p ./",
|
|
"typescript": "tsc --noEmit"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.64.0"
|
|
},
|
|
"license": "MIT",
|
|
"categories": [
|
|
"Snippets"
|
|
],
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "nicecodeSnippets.search",
|
|
"title": "nicecode search"
|
|
}
|
|
],
|
|
"keybindings": [
|
|
{
|
|
"command": "nicecodeSnippets.search",
|
|
"key": "ctrl+alt+r",
|
|
"mac": "shift+cmd+r",
|
|
"when": "editorTextFocus"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"title": "ES React/React-Native/Redux snippets",
|
|
"properties": {
|
|
"nicecodeSnippets.settings.prettierEnabled": {
|
|
"type": "boolean",
|
|
"markdownDescription": "[EXPERIMENTAL: MIGHT NOT WORK]: Integrate prettier settings with code generated from snippets.",
|
|
"default": false
|
|
},
|
|
"nicecodeSnippets.settings.languageScopes": {
|
|
"type": "string",
|
|
"markdownDescription": "defines the language scopes for which the snippets will be available.\nUse comma separated values.\nFor example: `typescript,typescriptreact,javascript,javascriptreact`",
|
|
"default": "typescript,typescriptreact,javascript,javascriptreact"
|
|
}
|
|
}
|
|
},
|
|
"snippets": [
|
|
{
|
|
"language": "javascript",
|
|
"path": "./snippets/snippets.json"
|
|
},
|
|
{
|
|
"language": "javascriptreact",
|
|
"path": "./snippets/snippets.json"
|
|
},
|
|
{
|
|
"language": "typescript",
|
|
"path": "./snippets/snippets.json"
|
|
},
|
|
{
|
|
"language": "typescriptreact",
|
|
"path": "./snippets/snippets.json"
|
|
}
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/nicecoders/nicecoders.github.io.git"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public",
|
|
"registry": "https://registry.npmjs.org"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/nicecoders/nicecoders.github.io/issues"
|
|
},
|
|
"dependencies": {
|
|
"prettier": "2.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "7.17.0",
|
|
"@babel/eslint-parser": "7.17.0",
|
|
"@babel/preset-typescript": "7.16.7",
|
|
"@types/node": "17.0.16",
|
|
"@types/prettier": "2.4.3",
|
|
"@types/vscode": "^1.60.0",
|
|
"@typescript-eslint/eslint-plugin": "5.11.0",
|
|
"@typescript-eslint/parser": "5.11.0",
|
|
"eslint": "8.8.0",
|
|
"eslint-config-prettier": "8.3.0",
|
|
"eslint-plugin-babel": "5.3.1",
|
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
"eslint-plugin-import": "2.25.4",
|
|
"eslint-plugin-jest": "26.1.0",
|
|
"eslint-plugin-prettier": "4.0.0",
|
|
"eslint-plugin-simple-import-sort": "7.0.0",
|
|
"prettier": "2.5.1",
|
|
"typescript": "^4.8.3"
|
|
},
|
|
"prettier": {
|
|
"bracketSameLine": false,
|
|
"bracketSpacing": true,
|
|
"printWidth": 80,
|
|
"semi": true,
|
|
"singleQuote": true,
|
|
"tabWidth": 2,
|
|
"trailingComma": "all",
|
|
"useTabs": false,
|
|
"endOfLine": "auto"
|
|
},
|
|
"gitHead": "143fba48314ad1f175de7fed5b83325215ff7380"
|
|
}
|