-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
20 lines (20 loc) · 1.32 KB
/
package.json
File metadata and controls
20 lines (20 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"babel-loader": "^9.1.2",
"tailwindcss": "^3.3.2",
"webpack": "^5.86.0",
"webpack-cli": "^5.1.4"
},
"scripts": {
"build": "npx webpack && npx tailwindcss -i ./src/styles.css -o ./dist/styles.css",
"prod-chrome": "npm run build && cp manifest_chrome.json manifest.json && npm run zip-chrome && rm manifest.json && npm run move-zip",
"prod-firefox": "npm run build && cp manifest_firefox.json manifest.json && npm run zip-firefox && rm manifest.json && npm run move-zip",
"prod-edge": "npm run build && cp manifest_chrome.json manifest.json && npm run zip-edge && rm manifest.json && npm run move-zip",
"zip-chrome": "zip -r RateMyGMUProfessors-Chrome.zip ./ -x 'node_modules/*' -x 'manifest_firefox.json' -x 'manifest_chrome.json' -x 'prod/*' -x '.git/*' -x 'package-lock.json'",
"zip-firefox": "zip -r RateMyGMUProfessors-Firefox.zip ./ -x 'node_modules/*' -x 'manifest_firefox.json' -x 'manifest_chrome.json' -x 'prod/*' -x '.git/*' -x 'package-lock.json'",
"zip-edge": "zip -r RateMyGMUProfessors-Edge.zip ./ -x 'node_modules/*' -x 'manifest_firefox.json' -x 'manifest_chrome.json' -x 'prod/*' -x '.git/*' -x 'package-lock.json'",
"move-zip": "mkdir -p ./prod/ && mv RateMyGMUProfessors-*.zip ./prod/"
}
}