Skip to content

Commit 058a3a7

Browse files
committed
Simplify the build command
1 parent ee0e5e6 commit 058a3a7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"scripts": {
4545
"postinstall": "node ./node_modules/vscode/bin/install && cd src && typings install",
4646
"clean": "git clean -fdx",
47-
"build": "tsc -p ./src && cp ./src/services/analytics/EqatecMonitor.min.js ./out/services/analytics/EqatecMonitor.min.js",
47+
"build": "tsc -p ./src",
4848
"package": "vsce package",
4949
"launch-as-server": "node --nolazy ./out/debug-adapter/webKitDebug.js --server=4712",
5050
"test-mac": "mocha --opts ./src/tests/config/mocha.opts --config ../../src/tests/config/mac.json ./out/tests",

src/tsconfig.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"noImplicitAny": false,
88
"removeComments": false,
99
"preserveConstEnums": true,
10-
"outDir": "../out"
10+
"outDir": "../out",
11+
"allowJs": true
1112
},
1213
"files": [
1314
// typescript definitions
@@ -17,6 +18,7 @@
1718

1819
"./debug-adapter/webKitDebug.ts",
1920
"./main.ts",
20-
"./tests/adapter.test.ts"
21+
"./tests/adapter.test.ts",
22+
"./services/analytics/EqatecMonitor.min.js"
2123
]
2224
}

0 commit comments

Comments
 (0)