-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
161 lines (161 loc) · 4.76 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"name": "com.octosign",
"version": "0.5.2-dev",
"description": "Desktop electronic signature software",
"main": "dist/main.js",
"dependencies": {
"electron-is-dev": "^1.2.0",
"electron-store": "^5.1.1",
"fs-extra": "^8.1.0",
"i18next": "^19.6.0",
"i18next-browser-languagedetector": "^4.1.1",
"mime-types": "^2.1.27",
"react": "^16.13.1",
"react-i18next": "^11.3.5",
"sanitize-filename": "^1.6.3",
"split2": "^3.1.1",
"tmp-promise": "^2.0.2",
"yaml": "^1.9.2"
},
"devDependencies": {
"@material-ui/core": "^4.9.11",
"@material-ui/icons": "^4.9.1",
"@percy/cypress": "^2.3.1",
"@testing-library/react": "^9.5.0",
"@types/fs-extra": "^8.1.0",
"@types/jest": "^25.2.1",
"@types/mime-types": "^2.1.0",
"@types/node": "^12.12.37",
"@types/pdfjs-dist": "^2.1.3",
"@types/react": "^16.9.34",
"@types/react-dom": "^16.9.6",
"@types/split2": "^2.1.6",
"@types/styled-components": "^5.1.0",
"@types/yaml": "^1.9.7",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
"ajv": "^6.12.2",
"babel-preset-es2015": "^6.24.1",
"codecov": "^3.6.5",
"cypress": "^4.5.0",
"date-fns": "^2.12.0",
"electron": "^8.2.4",
"electron-builder": "^22.5.1",
"electron-notarize": "^0.3.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^3.0.0",
"i18next-conv": "^10.0.1",
"i18next-scanner": "^2.11.0",
"interactjs": "^1.9.10",
"jest": "^25.4.0",
"jest-canvas-mock": "^2.2.0",
"jest-styled-components": "^7.0.2",
"jss": "10.0.0",
"notistack": "^0.9.11",
"parcel-bundler": "^1.12.4",
"pdfjs-dist": "2.1.266",
"prettier": "2.0.5",
"react-dom": "^16.13.1",
"react-dropzone": "^10.2.2",
"react-markdown": "^4.3.1",
"react-signature-canvas": "^1.0.3",
"roboto-fontface-material": "^0.1.0",
"spectron": "^10.0.1",
"start-server-and-test": "^1.11.0",
"styled-components": "^5.1.0",
"ts-jest": "^25.4.0",
"typescript": "^3.8.3"
},
"scripts": {
"start": "electron ./dist/main.js",
"start:ui": "parcel src/ui/index.html --port 1234",
"start:cy": "cypress open",
"build": "npm run build:translations && npm run build:node -- --no-source-maps && npm run build:ui -- --no-source-maps",
"build:debug": "npm run build:translations && npm run build:node && npm run build:ui",
"build:ui": "npm run copy:worker && parcel build --public-url ./ src/ui/index.html -d dist/ui",
"build:node": "parcel build --target electron src/main.ts src/preload.ts",
"build:backends": "node ./backends/build.js",
"build:translations": "node ./scripts/translations.js build",
"copy:worker": "node ./scripts/copy-worker.js",
"extract:translations": "node ./scripts/translations.js extract",
"test": "npm run test:lint && npm run test:types && npm run test:unit -- --coverage",
"test:lint": "eslint --ext .ts --ext .tsx src/",
"test:types": "tsc",
"test:unit": "jest",
"test:ui": "start-server-and-test start:ui http://localhost:1234 \"percy exec -- cypress run\"",
"test:smoke": "node smoke.js",
"dist": "electron-builder",
"clean": "rm -rf dist && rm -rf .cache"
},
"repository": {
"type": "git",
"url": "git+https://github.com/durasj/octosign.git"
},
"keywords": [
"signature",
"electronic",
"desktop",
"seal",
"xades",
"pades",
"cades"
],
"author": "Jakub Duras <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/durasj/octosign/issues"
},
"homepage": "https://github.com/durasj/octosign#readme",
"browserslist": [
"Electron 7.0"
],
"build": {
"appId": "me.duras.octosign",
"productName": "Octosign",
"copyright": "Copyright © 2019 Jakub Ďuraš",
"files": [
"dist${/*}"
],
"extraResources": [
{
"from": "backends/dist",
"to": "backends"
}
],
"directories": {
"buildResources": "res",
"output": "artifacts"
},
"mac": {
"category": "public.app-category.business",
"target": "default",
"hardenedRuntime": true,
"entitlements": "res/entitlements.mac.plist",
"entitlementsInherit": "res/entitlements.mac.plist"
},
"win": {
"target": "nsis"
},
"nsis": {
"oneClick": false,
"perMachine": true,
"allowToChangeInstallationDirectory": true,
"license": "LICENSE"
},
"linux": {
"target": [
"AppImage",
"deb"
],
"category": "Office"
},
"publish": {
"provider": "github",
"owner": "durasj"
},
"afterSign": "scripts/notarize.js"
}
}