-
Notifications
You must be signed in to change notification settings - Fork 129
/
package.json
22 lines (22 loc) · 1.17 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "netflix-prime-auto-skip",
"version": "4.0.2",
"description": "Netflix, Prime, JioCinema, Hotstar - Auto intro skipper",
"source": "src/content_script.js",
"main": "dist/bundle_new.js",
"scripts": {
"build": "rm -rf dist && microbundle -f modern --sourcemap false && npm run post",
"build:dev": "rm -rf dist && microbundle -f modern && npm run post:dev",
"dev": "microbundle watch",
"post": "mv dist/bundle_new.modern.js dist/bundle_new.js",
"post:dev": "mv dist/bundle_new.modern.js dist/bundle_new.js & mv dist/bundle_new.modern.js.map dist/bundle_new.js.map",
"copy": "cp -R manifest.json ../final_build/ && cp -R dist ../final_build/ && cp -R src/assets ../final_build/src/ && cp -R src/popup.html ../final_build/src/ && cp -R src/styles ../final_build/src/ && cp -R src/background.js ../final_build/src/ && cd .. && zip -r final_build_$npm_package_version.zip final_build",
"publish": "rm -rf ../final_build && mkdir ../final_build/ && mkdir ../final_build/src/ && npm run copy",
"final": "npm run build && npm run publish"
},
"author": "Naman Malhotra",
"license": "ISC",
"devDependencies": {
"microbundle": "0.12.3"
}
}