Use parcel

This commit is contained in:
Nick Playfair 2021-03-07 17:00:44 +00:00
parent b5fbd2b00d
commit cd83b7b6c1
3 changed files with 12093 additions and 4223 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
.DS_Store
._*
node_modules/
.parcel-cache/
*.csv
dist/

16296
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -2,30 +2,25 @@
"name": "bom2table",
"version": "1.0.0",
"description": "",
"main": "bom2table.js",
"main": "index.html",
"scripts": {
"build": "npm run bundle && npm run copy:html && npm run copy:css",
"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"
"build": "parcel build ./src/index.html",
"dev": "parcel ./src/index.html"
},
"author": "nplayfair",
"license": "MIT",
"private": true,
"dependencies": {
"csvtojson": "^2.0.10",
"pretty": "^2.0.0"
"js-beautify": "^1.13.5"
},
"devDependencies": {
"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",
"prettier": "^2.2.1",
"tinyify": "^3.0.0",
"watchify": "^4.0.0"
"parcel": "^2.0.0-beta.1",
"prettier": "^2.2.1"
}
}