Skip to content

Commit 65e4cae

Browse files
author
Damian Sznajder
committed
fix: snippets path fix
1 parent dcf3530 commit 65e4cae

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

.vscodeignore

-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@
44
.gitignore
55
.vscode/**
66
docs/**
7-
node_modules/**
87
src/**

package.json

+8-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "es7-react-js-snippets",
33
"displayName": "ES7+ React/Redux/React-Native snippets",
44
"description": "Extensions for React, React-Native and Redux in JS/TS with ES7+ syntax. Customizable. Built-in integration with prettier.",
5-
"version": "4.0.0",
5+
"version": "4.0.2",
66
"publisher": "dsznajder",
77
"icon": "images/logo.png",
88
"browser": "./lib/index.js",
@@ -110,19 +110,19 @@
110110
"snippets": [
111111
{
112112
"language": "javascript",
113-
"path": "./src/snippets/generated.json"
113+
"path": "./lib/snippets/generated.json"
114114
},
115115
{
116116
"language": "javascriptreact",
117-
"path": "./src/snippets/generated.json"
117+
"path": "./lib/snippets/generated.json"
118118
},
119119
{
120120
"language": "typescript",
121-
"path": "./src/snippets/generated.json"
121+
"path": "./lib/snippets/generated.json"
122122
},
123123
{
124124
"language": "typescriptreact",
125-
"path": "./src/snippets/generated.json"
125+
"path": "./lib/snippets/generated.json"
126126
}
127127
]
128128
},
@@ -136,6 +136,9 @@
136136
"dependencies": {
137137
"prettier": "2.5.1"
138138
},
139+
"peerDependencies": {
140+
"prettier": "^2"
141+
},
139142
"devDependencies": {
140143
"@babel/cli": "7.16.0",
141144
"@babel/eslint-parser": "7.16.5",

0 commit comments

Comments
 (0)