Setted build script to use npx and updated typescript version

This commit is contained in:
Alexander Cerutti
2020-09-05 22:31:43 +02:00
parent 2288d018f2
commit ba772da3bc
2 changed files with 8 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
"description": "The easiest way to generate custom Apple Wallet passes in Node.js",
"main": "index.js",
"scripts": {
"build": "tsc",
"build": "npx tsc",
"prepublishOnly": "npm run build",
"test": "npm run build && jasmine spec/index.js"
},
@@ -30,12 +30,12 @@
},
"devDependencies": {
"@types/debug": "^4.1.5",
"@types/joi": "^14.3.4",
"@types/jasmine": "^3.5.0",
"@types/joi": "^14.3.4",
"@types/node": "^12.12.14",
"@types/node-forge": "^0.9.0",
"@types/yazl": "^2.4.2",
"jasmine": "^3.5.0",
"typescript": "^3.7.2"
"typescript": "^3.9.7"
}
}