This repository was archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 2.16 KB
/
Copy pathpackage.json
File metadata and controls
58 lines (58 loc) · 2.16 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
{
"name": "deviant-notify",
"version": "1.0.0",
"private": true,
"license": "MIT",
"scripts": {
"lint": "eslint",
"watch:tsc:content-script": "tsc --project tsconfig.content-script.json --watch --preserveWatchOutput",
"watch:tsc:modules": "tsc --watch --preserveWatchOutput",
"watch:tsc": "run-p --print-label watch:tsc:modules watch:tsc:content-script",
"watch": "run-s build:clean watch:tsc",
"build:clean:zip": "rimraf *.zip",
"build:clean:js": "rimraf deviantnotify/js",
"build:clean": "run-p build:clean:js build:clean:zip",
"build:compile:content-script": "tsc --project tsconfig.content-script.json",
"build:compile:modules": "tsc",
"build:compile": "run-p --print-label build:compile:modules build:compile:content-script",
"build:zip": "cd deviantnotify && createArchive -mx1 \"../deviantnotify.zip\" \"*\"",
"build": "run-s build:clean build:compile build:zip",
"copy:preact-js": "cpy node_modules/preact/dist/preact.umd.js deviantnotify/vendor",
"copy:preact-hooks-js": "cpy node_modules/preact/hooks/dist/hooks.umd.js deviantnotify/vendor",
"copy:preact-license": "cpy node_modules/preact/LICENSE deviantnotify/vendor",
"postintall": "run-p copy:preact-js copy:preact-hooks-js copy:preact-license"
},
"devDependencies": {
"@types/chrome": "0.0.133",
"@types/firefox-webext-browser": "^82.0.0",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"cpy-cli": "^3.1.1",
"eslint": "^7.22.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-import-newlines": "^1.1.0",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.4",
"node-7z-archive": "^1.0.4",
"npm-run-all": "^4.1.5",
"preact": "^10.5.14",
"rimraf": "^3.0.2",
"tsdef": "0.0.14",
"typescript": "^4.6"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.js": "echo \"JS files must not be comitted\"; exit 1",
"*.ts": "eslint --cache --fix"
},
"webExt": {
"sourceDir": "deviantnotify"
}
}