Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
55 lines (55 loc) · 1.45 KB
/
Copy pathpackage.json
File metadata and controls
55 lines (55 loc) · 1.45 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
{
"name": "@coder/wxnm",
"version": "0.0.1",
"description": "A TypeScript library for providing typed communication between your web extension and your native Node application using Native Messaging",
"types": "dist/index.d.ts",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/cdr/wxnm.git"
},
"bugs": {
"url": "https://github.com/cdr/wxnm/issues"
},
"homepage": "https://github.com/cdr/wxnm#readme",
"prettier": "@coder/prettier-config",
"scripts": {
"build": "rm -rf dist/ && rollup -c && cp package.json dist/package.json",
"build:watch": "rollup -c -w",
"prepublishOnly": "pwd | grep -q dist"
},
"files": [
"dist",
"README.md"
],
"dependencies": {
"typescript": "^3.7.5",
"webextension-polyfill-ts": "^0.11.0"
},
"devDependencies": {
"@coder/eslint-config": "^1.0.0",
"@coder/prettier-config": "^1.0.0",
"@coder/typescript-config": "^1.0.0",
"@rollup/plugin-commonjs": "^11.0.1",
"@rollup/plugin-node-resolve": "^7.0.0",
"eslint": "^6.8.0",
"husky": "^4.2.0",
"lint-staged": "^10.0.2",
"prettier": "^1.19.1",
"rollup": "^1.29.1",
"rollup-plugin-typescript2": "^0.25.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged --quiet"
}
},
"lint-staged": {
"*.{js,ts,tsx,html,json,css,scss,md}": [
"prettier --write"
],
"src/**/*.{ts,tsx}": [
"eslint --fix --max-warnings 0"
]
}
}