-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
68 lines (68 loc) · 2.58 KB
/
package.json
File metadata and controls
68 lines (68 loc) · 2.58 KB
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
{
"name": "javascript-injector",
"version": "1.0.2",
"description": "Evaluate JS code on pages at a given domain",
"scripts": {
"build": "npm run build:src && mkdir -p dist-ext && zip -r -FS dist-ext/javascript-injector.zip manifest.json icons/* dist/* ",
"build:src": "rm -rf dist .parcel-cache && concurrently \"npm:build:background\" \"npm:build:popup\" \"npm:build:scripts\"",
"build:background": "parcel build src/background/background.ts --target background --no-cache --no-scope-hoist",
"build:popup": "parcel build src/popup/index.html --no-cache --target popup --no-scope-hoist",
"build:scripts": "parcel build src/scripts/*.ts --no-cache --target content-scripts --no-scope-hoist",
"dev": "rm -rf dist .parcel-cache && concurrently \"npm:dev:background\" \"npm:dev:popup\" \"npm:dev:scripts\"",
"dev:background": "nodemon -e ts,json --watch src/background --watch src/shared --exec \"npm run build:background\"",
"dev:popup": "nodemon -e ts,tsx,json,html,vue --watch src/popup --watch src/shared --exec \"npm run build:popup\"",
"dev:scripts": "nodemon -e ts,json --watch src/scripts --watch src/shared --exec \"npm run build:scripts\"",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Artur Rosa <artur.rosa@monterail.com> (https://arturrosa.pl/)",
"license": "MIT",
"dependencies": {
"@vue/compiler-sfc": "^3.1.5",
"concurrently": "^6.2.0",
"content-scripts-register-polyfill": "^3.2.0",
"nodemon": "^2.0.12",
"normalize.css": "^8.0.1",
"parcel": "^2.0.0-nightly.776",
"sass": "^1.35.2",
"typescript": "^4.3.5",
"vue": "^3.1.5",
"vue3-styled-components": "^1.2.1",
"webextension-polyfill-ts": "^0.26.0"
},
"targets": {
"popup": {
"context": "browser",
"distDir": "dist/popup",
"optimize": false,
"publicUrl": ".",
"engines": {
"browsers": "> 0.5%"
}
},
"background": {
"context": "node",
"includeNodeModules": true,
"optimize": false,
"distDir": "dist/background",
"engines": {
"node": "14"
}
},
"content-scripts": {
"context": "node",
"includeNodeModules": true,
"optimize": false,
"distDir": "dist/content-scripts",
"engines": {
"node": "14"
}
}
},
"devDependencies": {
"@parcel/babel-plugin-transform-runtime": "^2.0.0-nightly.2400",
"@parcel/babel-preset-env": "^2.0.0-nightly.778",
"@parcel/transformer-vue": "^2.0.0-nightly.2400",
"@parcel/validator-typescript": "^2.0.0-nightly.778",
"@vue/babel-plugin-jsx": "^1.0.6"
}
}