Install typescript

This commit is contained in:
Nick Playfair 2021-03-17 19:23:20 +00:00
parent 80b34b4c91
commit 1197bd0894
2 changed files with 1069 additions and 896 deletions

1948
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -5,10 +5,12 @@
"main": "bom2table.js",
"scripts": {
"build": "npm run bundle && npm run copy:html && npm run copy:css",
"build-dist": "tsc",
"bundle": "browserify ./src/bom2table.js -p tinyify -o ./dist/bundle.js",
"copy:html": "cpy 'src/*.html' 'dist/'",
"copy:css": "cpy 'src/*.css' 'dist/'",
"dev": "watchify ./src/bom2table.js -o ./dist/bundle.js -v"
"dev": "watchify ./src/bom2table.js -o ./dist/bundle.js -v",
"lint": "eslint . --ext .ts"
},
"author": "nplayfair",
"license": "MIT",
@ -18,15 +20,16 @@
"pretty": "^2.0.0"
},
"devDependencies": {
"@types/csvtojson": "^1.1.5",
"@types/js-beautify": "^1.13.1",
"@typescript-eslint/eslint-plugin": "^4.18.0",
"@typescript-eslint/parser": "^4.18.0",
"browserify": "^17.0.0",
"cpy-cli": "^3.1.1",
"eslint": "^7.21.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint": "^7.22.0",
"prettier": "^2.2.1",
"tinyify": "^3.0.0",
"typescript": "^4.2.3",
"watchify": "^4.0.0"
}
}