Install typescript
This commit is contained in:
parent
80b34b4c91
commit
1197bd0894
1950
package-lock.json
generated
1950
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
15
package.json
15
package.json
@ -5,10 +5,12 @@
|
|||||||
"main": "bom2table.js",
|
"main": "bom2table.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npm run bundle && npm run copy:html && npm run copy:css",
|
"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",
|
"bundle": "browserify ./src/bom2table.js -p tinyify -o ./dist/bundle.js",
|
||||||
"copy:html": "cpy 'src/*.html' 'dist/'",
|
"copy:html": "cpy 'src/*.html' 'dist/'",
|
||||||
"copy:css": "cpy 'src/*.css' '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",
|
"author": "nplayfair",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
@ -18,15 +20,16 @@
|
|||||||
"pretty": "^2.0.0"
|
"pretty": "^2.0.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"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",
|
"browserify": "^17.0.0",
|
||||||
"cpy-cli": "^3.1.1",
|
"cpy-cli": "^3.1.1",
|
||||||
"eslint": "^7.21.0",
|
"eslint": "^7.22.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",
|
|
||||||
"prettier": "^2.2.1",
|
"prettier": "^2.2.1",
|
||||||
"tinyify": "^3.0.0",
|
"tinyify": "^3.0.0",
|
||||||
|
"typescript": "^4.2.3",
|
||||||
"watchify": "^4.0.0"
|
"watchify": "^4.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user