mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 13:25:19 +00:00
Prepared project to move to Typescript
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -4,3 +4,4 @@ passModels/
|
|||||||
certificates/
|
certificates/
|
||||||
*.code-workspace
|
*.code-workspace
|
||||||
.vscode/
|
.vscode/
|
||||||
|
*.js
|
||||||
|
|||||||
@@ -3,3 +3,5 @@ certificates/
|
|||||||
*.code-workspace
|
*.code-workspace
|
||||||
examples/
|
examples/
|
||||||
.vscode/
|
.vscode/
|
||||||
|
*.ts
|
||||||
|
!*.d.ts
|
||||||
|
|||||||
@@ -4,7 +4,9 @@
|
|||||||
"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": {
|
||||||
"test": "jasmine spec/index.js"
|
"build": "tsc",
|
||||||
|
"prepublish": "npm run build",
|
||||||
|
"test": "npm run build && jasmine spec/index.js"
|
||||||
},
|
},
|
||||||
"author": "Alexander Patrick Cerutti",
|
"author": "Alexander Patrick Cerutti",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
11
tsconfig.json
Normal file
11
tsconfig.json
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "commonjs",
|
||||||
|
"outDir": "dist",
|
||||||
|
"target": "es2018",
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"newLine": "LF",
|
||||||
|
"noImplicitAny": true,
|
||||||
|
"noUnusedLocals": true,
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user