Updated travis to node 12
Updated package scripts to use yarn
This commit is contained in:
parent
833f8feef0
commit
83003b6987
@ -1,3 +1,3 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- "10"
|
||||
- 12
|
||||
|
@ -7,11 +7,11 @@
|
||||
"scripts": {
|
||||
"release": "vik patch -t",
|
||||
"clean": "rm -rf dist",
|
||||
"prepublish": "npm run clean && npm run compile",
|
||||
"test": "jest --coverage && npm run compile",
|
||||
"prepublish": "yarn run clean && yarn run compile",
|
||||
"test": "jest --coverage && yarn run compile",
|
||||
"compile:es": "tsc --declaration true --declarationMap true --module esnext --outDir './dist/es'",
|
||||
"compile:commonjs": "tsc --declaration true --declarationMap true --module commonjs --outDir './dist/commonjs'",
|
||||
"compile": "npm run clean && npm run compile:es && npm run compile:commonjs"
|
||||
"compile": "yarn run clean && yarn run compile:es && yarn run compile:commonjs"
|
||||
},
|
||||
"author": "Martin Donnelly",
|
||||
"license": "ISC",
|
||||
|
Loading…
Reference in New Issue
Block a user