-
Notifications
You must be signed in to change notification settings - Fork 27
/
package.json
121 lines (121 loc) · 4.99 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "advancedprofanityfilter",
"version": "4.0.0",
"description": "A browser extension to filter profanity from webpages.",
"node": "^12.20.0 || ^14.13.1 || >=16.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/FrostCo/AdvancedProfanityFilter.git"
},
"type": "module",
"keywords": [
"Profanity",
"Filter"
],
"author": "FrostCo",
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https://github.com/FrostCo/AdvancedProfanityFilter/issues"
},
"homepage": "https://github.com/FrostCo/AdvancedProfanityFilter#readme",
"scripts": {
"build:chrome:mv2": "npm run build --target=chrome-mv2",
"build:chrome:mv3": "npm run build --target=chrome-mv3",
"build:chrome": "npm run build:chrome:mv3",
"build:edgeLegacy": "npm run build --target=edgeLegacy-mv2",
"build:firefox:mv2": "npm run build --target=firefox-mv2",
"build:firefox:mv3": "npm run build --target=firefox-mv3",
"build:firefox": "npm run build:firefox:mv2",
"build:libs": "tsc -p ./src/script/lib/tsconfig.json",
"build:static": "node bin/copyStatic.js",
"build:translations": "node bin/buildTranslation.js",
"build": "webpack --config bin/webpack.dev.js && npm run build:static",
"clean:all": "node bin/clean.js --all",
"clean:build": "node bin/clean.js --build",
"clean:dist": "node bin/clean.js --dist",
"clean": "node bin/clean.js",
"package": "node bin/packageExtension.js",
"postbuild": "node bin/postbuild.js",
"postrelease:all": "npm run build",
"postrelease:build": "node bin/postbuild.js && npm run package",
"postrelease:firefox:mv2": "node bin/packageSource.js",
"prebuild": "npm run clean:build && npm run build:translations && node bin/prebuild.js --$npm_config_environment --$npm_config_target",
"prerelease:all": "npm run clean && npm run release:bookmarklet",
"prerelease:build": "npm run clean:build && node bin/prebuild.js --release --$npm_config_target",
"release:all": "npm run release:chrome:mv2 && npm run release:chrome:mv3 && npm run release:edgeLegacy && npm run release:firefox:mv2 && npm run release:firefox:mv3",
"release:bookmarklet": "node bin/prebuild.js --release --bookmarklet && webpack --config bin/webpack.bookmarklet.js",
"release:build": "webpack --config bin/webpack.prod.js && npm run build:static",
"release:chrome:mv2": "npm run release:build --target=chrome-mv2",
"release:chrome:mv3": "npm run release:build --target=chrome-mv3",
"release:chrome": "npm run release:chrome:mv3",
"release:edgeLegacy": "npm run release:build --target=edgeLegacy-mv2",
"release:firefox:mv2": "npm run release:build --target=firefox-mv2",
"release:firefox:mv3": "npm run release:build --target=firefox-mv3",
"release:firefox": "npm run release:firefox:mv2",
"release": "npm run release:build",
"test:addon": "npm run build --environment=test --target=firefox-mv2 && npx addons-linter ./dist",
"test:all": "npm run test && npm run test:lint:tests",
"test:cov": "nyc --reporter=lcov --reporter=html --reporter=text npm run test:nocov",
"test:debug": "node --inspect-brk node_modules/mocha/bin/_mocha --paths --reporter tap",
"test:lint:all": "npm run test:lint && npm run test:lint:bin && npm run test:lint:tests",
"test:lint:bin": "eslint \"bin/**/*.*js\"",
"test:lint:nibble": "npx eslint-nibble \"src/**/*.ts\"",
"test:lint:tests": "eslint \"test/spec/*.spec.ts\"",
"test:lint": "eslint \"src/**/*.ts\"",
"test:nocov": "mocha --paths",
"test:types:tests": "tsc --noEmit -p test/tsconfig.json",
"test:types": "tsc --noEmit",
"test": "npm run test:lint && npm run test:types && npm run test:addon && npm run test:cov",
"type-check:watch": "npm run type-check -- --watch",
"update:deps": "npx npm-check-updates --concurrency 10 --timeout 600000 --upgrade",
"update:help": "node bin/updateHelp.js",
"watch": "node bin/watch.js"
},
"dependencies": {
"i18next": "^23.14.0"
},
"devDependencies": {
"@types/chrome": "^0.0.271",
"@types/mocha": "^10.0.8",
"addons-linter": "^7.1.0",
"adm-zip": "^0.5.16",
"chai": "^5.1.1",
"chokidar": "^4.0.1",
"download": "^8.0.0",
"eslint": "^9.11.0",
"fs-extra": "^11.2.0",
"globby": "^14.0.2",
"marked": "^14.1.2",
"mocha": "^10.7.3",
"npm-check-updates": "^17.1.3",
"nyc": "^17.1.0",
"sinon": "^19.0.2",
"terser-webpack-plugin": "^5.3.10",
"ts-loader": "^9.5.1",
"tsconfig-paths": "^4.2.0",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"tsx": "^4.19.1",
"typescript": "^5.6.2",
"typescript-eslint": "^8.7.0",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4"
},
"mocha": {
"$schema": "https://json.schemastore.org/mocharc.json",
"reporter": "dot",
"require": "tsx",
"spec": [
"test/spec/**/*.spec.ts"
]
},
"nyc": {
"extension": [
".ts"
],
"include": [
"src/script/**/*.ts"
],
"report-dir": "test/coverage",
"temp-dir": "./test/.nyc_output"
}
}