-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.54 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
{
"name": "post-tweet",
"version": "1.0.0",
"license": "MIT",
"main": "index.js",
"build": {
"appId": "info.efcl.post-tweet",
"mac": {
"target": [
"zip"
],
"category": "your.app.category.type"
},
"publish": [
{
"provider": "github",
"owner": "azu",
"repo": "post-tweet",
"releaseType": "release"
}
]
},
"scripts": {
"dev": "NODE_ENV=development electron .",
"build": "babel src --out-dir lib --extensions \".ts,.tsx,.js,.jsx\" --source-maps inline --copy-files",
"dist": "npm run build && electron-builder",
"dist:dir": "yarn dist --dir -c.compression=store -c.mac.identity=null",
"publish:patch": "yarn compile && npm version patch && git push --tags && NODE_OPTIONS=--openssl-legacy-provider dotenv electron-builder --win --mac --linux --x64 --ia32 --publish always",
"publish:minor": "yarn compile && npm version minor && git push --tags && NODE_OPTIONS=--openssl-legacy-provider dotenv electron-builder --win --mac --linux --x64 --ia32 --publish always",
"publish:major": "yarn compile && npm version major && git push --tags && NODE_OPTIONS=--openssl-legacy-provider dotenv electron-builder --win --mac --linux --x64 --ia32 --publish always",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
"prepare": "git config --local core.hooksPath .githooks"
},
"dependencies": {
"@atproto/api": "^0.3.12",
"@electron/remote": "^2.0.9",
"codemirror": "^5.42.0",
"electron-default-menu": "^1.0.1",
"electron-positioner": "^4.1.0",
"fs-jetpack": "^2.2.0",
"interop-require": "^1.0.0",
"material-flux": "^1.4.0",
"notie": "^4.3.1",
"react": "^16.6.3",
"react-codemirror2": "^5.1.0",
"react-dom": "^16.6.3",
"source-map-support": "^0.5.21",
"tweet-truncator": "^2.0.0",
"twitter-api-v2": "^1.14.2"
},
"devDependencies": {
"@babel/cli": "^7.22.5",
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-react": "^7.22.5",
"@babel/register": "^7.22.5",
"babel-preset-react": "^6.24.1",
"dotenv-cli": "^4.1.0",
"electron": "^25.1.1",
"electron-builder": "^24.4.0",
"lint-staged": "^12.0.3",
"prettier": "^2.8.8"
},
"prettier": {
"singleQuote": false,
"printWidth": 120,
"tabWidth": 4,
"trailingComma": "none"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,css}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"post-commit": "git reset",
"pre-commit": "lint-staged"
}
}
}