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

9
package-lock.json generated
View File

@@ -19,7 +19,8 @@
"@types/joi": { "@types/joi": {
"version": "14.3.4", "version": "14.3.4",
"resolved": "https://registry.npmjs.org/@types/joi/-/joi-14.3.4.tgz", "resolved": "https://registry.npmjs.org/@types/joi/-/joi-14.3.4.tgz",
"integrity": "sha512-1TQNDJvIKlgYXGNIABfgFp9y0FziDpuGrd799Q5RcnsDu+krD+eeW/0Fs5PHARvWWFelOhIG2OPCo6KbadBM4A==" "integrity": "sha512-1TQNDJvIKlgYXGNIABfgFp9y0FziDpuGrd799Q5RcnsDu+krD+eeW/0Fs5PHARvWWFelOhIG2OPCo6KbadBM4A==",
"dev": true
}, },
"@types/node": { "@types/node": {
"version": "12.12.14", "version": "12.12.14",
@@ -217,9 +218,9 @@
"dev": true "dev": true
}, },
"typescript": { "typescript": {
"version": "3.7.2", "version": "3.9.7",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.2.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.7.tgz",
"integrity": "sha512-ml7V7JfiN2Xwvcer+XAf2csGO1bPBdRbFCkYBczNZggrBZ9c7G3riSUeJmqEU5uOtXNPMhE3n+R4FA/3YOAWOQ==", "integrity": "sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==",
"dev": true "dev": true
}, },
"wrappy": { "wrappy": {

View File

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