-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.61 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "mytruth",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "eslint --ext ts,tsx src",
"compile": "tsc -p . --noEmit",
"compile:watch": "tsc -p . --noEmit --watch",
"parcel": "parcel build src/background.ts src/popup.html",
"parcel:watch": "parcel watch --no-hmr src/background.ts src/popup.html",
"clean:firefox": "rimraf ./dist_firefox",
"clean:chrome": "rimraf ./dist_chrome",
"prestart:chrome": "npm run clean:chrome",
"start:chrome": "concurrently --kill-others \"npm:compile:watch\" \"npm:parcel:watch -- --out-dir=dist_chrome\"",
"prestart:firefox": "npm run clean:firefox",
"start:firefox": "concurrently --kill-others \"npm:compile:watch\" \"npm:parcel:watch -- --out-dir=dist_firefox\"",
"prebuild:chrome": "npm run clean:chrome",
"build:chrome": "npm run lint && npm run compile && npm run parcel -- --out-dir=dist_chrome",
"postbuild:chrome": "zip -vr dist_chrome.zip ./dist_chrome",
"prebuild:firefox": "npm run clean:firefox",
"build:firefox": "npm run lint && npm run compile && npm run parcel -- --out-dir=dist_firefox",
"postbuild:firefox": "cd ./dist_firefox && zip -r -FS ../dist_firefox.zip *"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nik-suri/MyTruth.git"
},
"author": "Nikhil Suri",
"license": "ISC",
"bugs": {
"url": "https://github.com/nik-suri/MyTruth/issues"
},
"homepage": "https://github.com/nik-suri/MyTruth#readme",
"staticFiles": {
"staticPath": [
{
"outDirPattern": "**/dist_chrome",
"staticPath": "static_chrome"
},
{
"outDirPattern": "**/dist_firefox",
"staticPath": "static_firefox"
},
"static"
]
},
"dependencies": {
"@ant-design/icons": "^4.1.0",
"antd": "^4.1.5",
"lodash": "^4.17.19",
"psl": "^1.8.0",
"react": "^16.13.1",
"react-dom": "^16.13.1"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"@types/chrome": "0.0.106",
"@types/lodash": "^4.14.150",
"@types/psl": "^1.1.0",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.7",
"@typescript-eslint/eslint-plugin": "^2.30.0",
"@typescript-eslint/parser": "^2.30.0",
"babel-plugin-import": "^1.13.0",
"concurrently": "^5.2.0",
"eslint": "^6.8.0",
"eslint-plugin-react": "^7.19.0",
"parcel-bundler": "^1.12.4",
"parcel-plugin-static-files-copy": "^2.3.1",
"rimraf": "^3.0.2",
"typescript": "^3.8.3"
}
}