11751175 },
11761176 "scripts" : {
11771177 "vscode:prepublish" : " webpack --env.production" ,
1178- "postinstall" : " node ./node_modules/ vscode/bin/install " ,
1178+ "postinstall" : " cd src/typings && npx vscode-dts master && npx vscode-dts dev master " ,
11791179 "compile" : " tsc -p ./" ,
11801180 "clean" : " rm -r out/ media/ preview-src/dist/" ,
11811181 "watch" : " webpack --watch --env.development" ,
1182- "test" : " ./test.sh"
1182+ "test" : " yarn run preprocess && node ./out/test/runTests.js" ,
1183+ "preprocess" : " yarn run compile && yarn run preprocess-gql && yarn run preprocess-svg" ,
1184+ "preprocess-gql" : " scripts/preprocess-gql --in src/github/queries.gql --out out/github/queries.gql" ,
1185+ "preprocess-svg" : " scripts/preprocess-svg --in resources/ --out preview-src/dist/resources"
11831186 },
11841187 "devDependencies" : {
11851188 "@types/chai" : " ^4.1.4" ,
11901193 "@types/lru-cache" : " ^5.1.0" ,
11911194 "@types/marked" : " ^0.7.2" ,
11921195 "@types/mocha" : " ^5.2.2" ,
1193- "@types/node" : " * " ,
1196+ "@types/node" : " ^12.0.0 " ,
11941197 "@types/node-fetch" : " ^2.1.4" ,
11951198 "@types/query-string" : " ^6.1.1" ,
11961199 "@types/react" : " ^16.8.4" ,
12201223 "tslint" : " ^6.0.0" ,
12211224 "tslint-webpack-plugin" : " ^2.1.0" ,
12221225 "tty" : " 1.0.1" ,
1223- "typescript" : " ^3.8.2 " ,
1224- "vscode" : " ^1.1.36 " ,
1226+ "typescript" : " ^3.8.3 " ,
1227+ "vscode-test " : " ^1.3.0 " ,
12251228 "webpack" : " ^4.41.6" ,
12261229 "webpack-cli" : " ^3.3.11"
12271230 },
12541257 "webpack/**/tar" : " ^4.4.2"
12551258 },
12561259 "license" : " MIT"
1257- }
1260+ }
0 commit comments