Watch-on-LBRY/package.json
Kevin Raoofi a0963db2b4 build glob parity with watch
It seems like I only cared about the watch command and missed updating
`build` in the past. This makes the CI build broken packages.
2021-01-21 17:00:09 -05:00

42 lines
1.4 KiB
JSON

{
"name": "watch-on-lbry",
"version": "1.5.4",
"license": "GPL-3.0",
"scripts": {
"build:assets": "cpx \"src/**/*.{json,png,svg}\" dist/",
"watch:assets": "cpx --watch -v \"src/**/*.{json,png,svg}\" dist/",
"build:parcel": "cross-env NODE_ENV=production parcel build --no-source-maps --no-minify \"src/scripts/*.{js,jsx,ts,tsx}\" \"src/**/*.html\"",
"watch:parcel": "parcel watch --no-hmr --no-source-maps \"src/scripts/*.{js,jsx,ts,tsx}\" \"src/**/*.html\"",
"build:webext": "web-ext build --source-dir ./dist --overwrite-dest",
"build": "npm-run-all -l -p build:parcel build:assets",
"watch": "npm-run-all -l -p watch:parcel watch:assets",
"start:chrome": "web-ext run -t chromium --source-dir ./dist",
"start:firefox": "web-ext run --source-dir ./dist",
"test": "jest"
},
"browserslist": [
">1%",
"not ie > 0"
],
"devDependencies": {
"@babel/preset-typescript": "^7.10.4",
"@types/chrome": "0.0.124",
"@types/classnames": "^2.2.10",
"@types/jest": "^26.0.14",
"@types/lodash": "^4.14.162",
"braces": ">=2.3.1",
"classnames": "^2.2.6",
"cpx": "^1.5.0",
"cross-env": "^7.0.2",
"jest": "^26.5.3",
"lodash": "^4.17.20",
"marked": "^1.2.5",
"node-forge": ">=0.10.0",
"node-sass": "^4.14.1",
"npm-run-all": "^4.1.5",
"parcel-bundler": "^1.12.4",
"preact": "^10.5.4",
"typescript": "^4.0.3",
"web-ext": "^5.2.0"
}
}