Skip to content

Commit ae0e890

Browse files
adding link start/stop scripts
1 parent 0effafa commit ae0e890

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"prepublishOnly": "git clean -xdf && npm install-clean && npm run lint && npm run build && npm run test",
88
"build": ".\\node_modules\\.bin\\tsc",
99
"watch": ".\\node_modules\\.bin\\tsc -b -watch",
10+
"link:start": "npm link && npm uninstall @microsoft/powerquery-parser @microsoft/powerquery-formatter && git clean -xdf && npm install && npm link @microsoft/powerquery-parser @microsoft/powerquery-formatter",
11+
"link:stop": "npm unlink @microsoft/powerquery-parser @microsoft/powerquery-formatter && git clean -xdf && npm install && npm install @microsoft/powerquery-parser@latest @microsoft/powerquery-formatter@latest --save-exact",
1012
"lint": "eslint src --ext ts",
1113
"test": "mocha --reporter mocha-multi-reporters --reporter-options configFile=src/test/mochaConfig.json -r ts-node/register src/test/**/*.ts"
1214
},
@@ -28,6 +30,9 @@
2830
"power query",
2931
"power bi"
3032
],
33+
"files": [
34+
"lib/powerquery-language-services/**/*"
35+
],
3136
"devDependencies": {
3237
"@types/chai": "4.3.1",
3338
"@types/mocha": "9.1.1",
@@ -49,12 +54,9 @@
4954
"typescript": "4.6.4"
5055
},
5156
"dependencies": {
52-
"@microsoft/powerquery-parser": "0.15.5",
5357
"@microsoft/powerquery-formatter": "0.3.11",
58+
"@microsoft/powerquery-parser": "0.15.5",
5459
"vscode-languageserver-textdocument": "1.0.4",
5560
"vscode-languageserver-types": "3.17.1"
56-
},
57-
"files": [
58-
"lib/powerquery-language-services/**/*"
59-
]
61+
}
6062
}

0 commit comments

Comments
 (0)