-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 2.63 KB
/
Copy pathpackage.json
File metadata and controls
75 lines (75 loc) · 2.63 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
69
70
71
72
73
74
75
{
"name": "own-proxy",
"version": "0.6.0",
"description": "Simple extension to support proxy connecting vie authorizes SOCKS5",
"main": "index.js",
"appId": "{391fab89-c8ee-4042-bc54-4b2bcf477fac}",
"scripts": {
"clean": "rm -rf ./build && rm -rf ./*.zip",
"all": "npx run-s -l",
"build:prepare": "npm run clean && mkdir -p build",
"build:parcel": "npx parcel build entry-points/**/*.html -d build/entry-points/ --public-url /entry-points/",
"build:copy-assets": "cp manifest.json LICENSE build && cp -R ./assets/ build/assets",
"build:update-manifest": "VERSION=`node -p -e \"require('./package.json').version\"` APP_ID=`node -p -e \"require('./package.json').appId\"` && node scripts/update_manifest.js build/manifest.json $VERSION $APP_ID",
"build:pack": "cd build && VERSION=`node -p -e \"require('./manifest.json').version\"` && zip -r ../own-proxy-${VERSION}.zip ./*",
"build": "npm run all test build:*",
"test:lint": "npx eslint --ext ts,tsx ./entry-points",
"test:types": "npx tsc --noEmit",
"test": "npm run all test:*",
"start:build": "npm run build:prepare && npm run build:copy-assets",
"start:parcel": "npx parcel watch entry-points/**/*.html -d build/entry-points/ --public-url /entry-points/",
"start": "npm run all start:*",
"fix:lint": "npx eslint --fix --ext ts,tsx ./entry-points/",
"fix:prettier": "npx prettier --write ./src/**/*.{ts,tsx}"
},
"repository": {
"type": "git",
"url": "git+https://github.com/koluch/own-proxy.git"
},
"author": "Nikolai Mavrenkov <koluch@koluch.ru>",
"license": "MIT",
"bugs": {
"url": "https://github.com/koluch/own-proxy/issues"
},
"homepage": "https://github.com/koluch/own-proxy#readme",
"dependencies": {
"classnames": "^2.2.6",
"light-observable": "^2.13.1",
"preact": "^10.1.1"
},
"devDependencies": {
"@types/classnames": "^2.2.9",
"@typescript-eslint/eslint-plugin": "^2.14.0",
"@typescript-eslint/parser": "^2.14.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-import": "^2.19.1",
"husky": "^3.1.0",
"lint-staged": "^9.4.3",
"npm-run-all": "^4.1.5",
"parcel-bundler": "^1.12.4",
"postcss-modules": "^1.5.0",
"postcss-nested": "^4.2.1",
"prettier": "^1.19.1",
"typescript": "^3.7.4",
"web-ext-types": "^3.2.1"
},
"lint-staged": {
"*.ts?(x)": [
"eslint --fix",
"prettier --write",
"git add"
]
},
"prettier": {
"trailingComma": "all"
},
"browserslist": [
"Firefox >= 71"
],
"husky": {
"hooks": {
"pre-commit": "npx lint-staged && npm run test:types"
}
}
}