-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
50 lines (50 loc) · 1.9 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"name": "osu-preview",
"version": "0.0.6",
"description": "Browser extension for previewing osu beatmaps.",
"main": "popup/index.js",
"dependencies": {
"@babel/core": "^7.3.3",
"@babel/preset-env": "^7.3.1",
"autoprefixer": "^10.4.2",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.2",
"copy-webpack-plugin": "^10.2.0",
"cross-env": "^5.1.5",
"css-loader": "^6.5.1",
"eslint": "^8.7.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-react": "^7.5.1",
"json-loader": "^0.5.7",
"showdown": "^1.7.2",
"style-loader": "^0.23.0",
"url-loader": "^1.1.1"
},
"scripts": {
"start": "cross-env NODE_ENV=development webpack --config webpack.development.config.js -w",
"start:chrome": "cross-env BUILD_CHROME=1 npm start",
"start:firefox": "cross-env BUILD_FF=1 npm start",
"clean": "run-script-os",
"clean:darwin:linux": "rm -rf build/",
"clean:win32": "rmdir /s /q build 2>nul & exit 0",
"build": "npm run clean && cross-env NODE_ENV=production webpack --config webpack.production.config.js",
"build:chrome": "cross-env BUILD_CHROME=1 npm run build && bestzip osu-preview-chrome.zip build/* && npm run clean",
"build:firefox": "cross-env BUILD_FF=1 npm run build && cd build/ && bestzip ../osu-preview-firefox.zip * && cd ../ && npm run clean",
"build:all": "rm -f osu-preview-chrome.zip osu-preview-firefox.zip && npm run build:chrome && npm run build:firefox",
"lint": "eslint --fix ."
},
"author": "Jerry Zhu",
"license": "MIT",
"devDependencies": {
"bestzip": "^2.1.2",
"file-loader": "^2.0.0",
"mini-css-extract-plugin": "^2.5.2",
"run-script-os": "^1.1.6",
"sass": "^1.49.0",
"sass-loader": "^12.4.0",
"webpack": "^5.67.0",
"webpack-cli": "^4.9.1"
}
}