-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
175 lines (175 loc) · 5.72 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"name": "tox-universal-client",
"description": "Modern, secure, private & fun Instant Messaging for the 21th century",
"homepage": "./",
"version": "0.2.4",
"author": "SkyzohKey <[email protected]>",
"main": "public/index.js",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"web": "node scripts/start.js",
"build": "node scripts/build.js",
"test:web": "node scripts/test.js --env=jsdom",
"electron": "BROWSER=none node scripts/start.js & electron .",
"storybook:start": "start-storybook -p 9009 -s $(pwd)/src/assets/",
"storybook:build": "build-storybook -s $(pwd)/src/assets/",
"storybook:deploy": "storybook-to-ghpages",
"package:all": "npm run dist && electron-builder build -mwl",
"package:linux": "electron-builder build --linux AppImage snap deb pacman tar.bz2 dir",
"package:freebsd": "electron-builder build --linux freebsd",
"package:win32": "electron-builder build --win --ia32 nsis msi zip portable",
"package:win64": "electron-builder build --win --x64 nsis msi zip portable",
"package:osx": "electron-builder build --macos dmg mas mas-dev tar.bz2 pkg",
"release:all": "npm run dist && electron-builder build -mwl",
"release:linux": "npm run dist && electron-builder build --linux AppImage snap deb pacman tar.bz2 dir",
"release:freebsd": "npm run dist && electron-builder build --linux freebsd",
"release:win32": "npm run dist && electron-builder build --win --ia32 nsis msi zip portable",
"release:win64": "npm run dist && electron-builder build --win --x64 nsis msi zip portable",
"release:osx": "npm run dist && electron-builder build --macos dmg mas mas-dev tar.bz2 pkg",
"release:android": "react-native run-android --variant=release"
},
"build": {
"appId": "chat.tox.universal.client",
"productName": "Tox",
"copyright": "Copyright © 2016-2018 SkyzohLabs.be and contributors",
"asar": false,
"files": [
"public/**/*",
"public/index.js",
"node_modules/**/*",
"src/**/*",
"build/**/*"
],
"directories": {
"buildResources": "public",
"output": "packages"
},
"linux": {
"category": "Network"
},
"mac": {
"category": "public.app-category.social-networking"
}
},
"dependencies": {
"@toxclient/shathui": "0.6.1",
"autoprefixer": "8.1.0",
"babel-core": "6.26.0",
"babel-eslint": "8.2.6",
"babel-jest": "23.0.0-alpha.0",
"babel-loader": "7.1.3",
"babel-preset-react-app": "^3.1.1",
"babel-runtime": "6.26.0",
"case-sensitive-paths-webpack-plugin": "2.1.2",
"chalk": "2.4.0",
"css-loader": "0.28.11",
"dotenv": "6.0.0",
"dotenv-expand": "4.0.1",
"electron-is-dev": "^0.3.0",
"electron-settings": "^3.1.4",
"eslint": "4.19.0",
"eslint-config-react-app": "^2.1.0",
"eslint-plugin-flowtype": "2.50.0",
"eslint-loader": "2.1.0",
"eslint-plugin-import": "2.9.0",
"eslint-plugin-jsx-a11y": "5.1.1",
"eslint-plugin-react": "7.4.0",
"extract-text-webpack-plugin": "3.0.2",
"file-loader": "1.1.10",
"fs-extra": "6.0.0",
"html-webpack-plugin": "^3.0.7",
"i18next": "^10.5.0",
"jest": "20.0.4",
"moment": "^2.21.0",
"object-assign": "4.1.1",
"postcss-flexbugs-fixes": "3.3.1",
"postcss-loader": "2.1.2",
"promise": "8.0.1",
"raf": "3.4.0",
"react": "16.2.0",
"react-dev-utils": "^5.0.0",
"react-dom": "^16.2.0",
"react-i18next": "^7.4.0",
"react-native": "0.54.2",
"react-native-material-ripple": "^0.8.0",
"react-native-vector-icons": "^5.0.0",
"react-native-web": "0.5.3",
"react-native-windows": "^1.0.0",
"react-redux": "5.0.7",
"react-router": "4.3.0",
"react-router-dom": "4.2.2",
"react-router-native": "4.3.0",
"redux": "3.7.2",
"style-loader": "0.22.1",
"redux-thunk": "2.3.0",
"sw-precache-webpack-plugin": "0.11.4",
"url-loader": "0.6.2",
"webpack": "3.8.1",
"webpack-dev-server": "2.11.2",
"webpack-manifest-plugin": "2.0.0-rc.2",
"whatwg-fetch": "2.0.3"
},
"devDependencies": {
"@storybook/addon-actions": "^3.3.13",
"@storybook/addon-links": "^3.3.13",
"@storybook/addons": "^3.3.13",
"@storybook/react": "^3.3.13",
"@storybook/storybook-deployer": "^2.3.0",
"babel-core": "^6.26.0",
"babel-jest": "22.4.4",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-react-remove-prop-types": "0.4.14",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-react-native": "4.0.0",
"electron": "2.0.7",
"electron-builder": "^20.2.0",
"jest": "22.3.0",
"react-test-renderer": "16.2.0"
},
"jest": {
"preset": "react-native",
"collectCoverageFrom": [
"src/**/*.{js,jsx,mjs}"
],
"setupFiles": [
"<rootDir>/config/polyfills.js"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,mjs}",
"<rootDir>/src/**/?(*.)(spec|test).{js,jsx,mjs}"
],
"testEnvironment": "node",
"testURL": "http://localhost",
"transform": {
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
"^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
},
"transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
],
"moduleNameMapper": {
"^react-native$": "react-native-web"
},
"moduleFileExtensions": [
"web.js",
"mjs",
"js",
"json",
"web.jsx",
"jsx",
"node"
]
},
"babel": {
"presets": [
"react-app"
]
},
"eslintConfig": {
"extends": "react-app"
}
}