Use parcel
This commit is contained in:
parent
b5fbd2b00d
commit
cd83b7b6c1
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,6 @@
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
._*
|
._*
|
||||||
node_modules/
|
node_modules/
|
||||||
|
.parcel-cache/
|
||||||
*.csv
|
*.csv
|
||||||
dist/
|
dist/
|
16296
package-lock.json
generated
16296
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
19
package.json
19
package.json
@ -2,30 +2,25 @@
|
|||||||
"name": "bom2table",
|
"name": "bom2table",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "bom2table.js",
|
"main": "index.html",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npm run bundle && npm run copy:html && npm run copy:css",
|
"build": "parcel build ./src/index.html",
|
||||||
"bundle": "browserify ./src/bom2table.js -p tinyify -o ./dist/bundle.js",
|
"dev": "parcel ./src/index.html"
|
||||||
"copy:html": "cpy 'src/*.html' 'dist/'",
|
|
||||||
"copy:css": "cpy 'src/*.css' 'dist/'",
|
|
||||||
"dev": "watchify ./src/bom2table.js -o ./dist/bundle.js -v"
|
|
||||||
},
|
},
|
||||||
"author": "nplayfair",
|
"author": "nplayfair",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"csvtojson": "^2.0.10",
|
"csvtojson": "^2.0.10",
|
||||||
"pretty": "^2.0.0"
|
"js-beautify": "^1.13.5"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"browserify": "^17.0.0",
|
|
||||||
"cpy-cli": "^3.1.1",
|
|
||||||
"eslint": "^7.21.0",
|
"eslint": "^7.21.0",
|
||||||
"eslint-config-airbnb-base": "^14.2.1",
|
"eslint-config-airbnb-base": "^14.2.1",
|
||||||
"eslint-config-prettier": "^8.1.0",
|
"eslint-config-prettier": "^8.1.0",
|
||||||
"eslint-plugin-import": "^2.22.1",
|
"eslint-plugin-import": "^2.22.1",
|
||||||
"eslint-plugin-prettier": "^3.3.1",
|
"eslint-plugin-prettier": "^3.3.1",
|
||||||
"prettier": "^2.2.1",
|
"parcel": "^2.0.0-beta.1",
|
||||||
"tinyify": "^3.0.0",
|
"prettier": "^2.2.1"
|
||||||
"watchify": "^4.0.0"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user