File tree Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Expand file tree Collapse file tree 3 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ npm-debug.log
88.DS_Store
99.esm-cache
1010
11+ # Bundle
12+ target
13+
1114# Typescript
1215* .tsbuildinfo
1316.tsbuildinfo
Original file line number Diff line number Diff line change 11language : node_js
2+ sudo : false
3+
24node_js :
5+ - " 6"
36 - " 8"
47 - " 10"
58 - " 12"
69 - " 13"
7- sudo : false
10+
811cache :
912 directories :
13+ - target
1014 - node_modules
15+
16+ install :
17+ - ' if [ "${TRAVIS_NODE_VERSION}" = "6" ] ; then nvm use 8 ; fi ;'
18+ - yarn install
19+ - yarn build
20+ - ' if [ "${TRAVIS_NODE_VERSION}" = "6" ] ; then nvm use "${TRAVIS_NODE_VERSION}" && node --version ; fi ;'
21+
22+ script :
23+ - yarn test
Original file line number Diff line number Diff line change 66 ],
77 "license" : " MIT" ,
88 "version" : " 2.1.0" ,
9- "source" : " src/main/ts/index .ts" ,
9+ "source" : " jsonrpc .ts" ,
1010 "main" : " jsonrpc.js" ,
1111 "module" : " jsonrpc.mjs" ,
1212 "unpkg" : " jsonrpc.umd.js" ,
4242 },
4343 "scripts" : {
4444 "build:tsc" : " tsc -p tsconfig.build.json" ,
45- "build:microbundle" : " microbundle jsonrpc.ts --name jsonrpc --strict" ,
45+ "build:microbundle" : " microbundle build jsonrpc.ts --name jsonrpc --strict" ,
4646 "build" : " yarn build:microbundle" ,
4747 "lint" : " tslint -p tsconfig.json -t stylish jsonrpc.ts" ,
48- "test" : " npm run lint && tman"
48+ "test" : " yarn lint && tman"
4949 },
5050 "files" : [
5151 " README.md" ,
You can’t perform that action at this time.
0 commit comments