-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathpackage.json
More file actions
133 lines (133 loc) · 4.86 KB
/
Copy pathpackage.json
File metadata and controls
133 lines (133 loc) · 4.86 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
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
{
"name": "mycard",
"version": "3.1.0",
"description": "moecube",
"keywords": [],
"author": "zh99998 <zh99998@gmail.com>",
"homepage": "https://moecube.com",
"license": "UNLICENSED",
"repository": "moecube/moecube",
"scripts": {
"start": "electron . --url=http://localhost:4200",
"start:aot": "electron .",
"pack": "npm run build && build --dir",
"dist": "npm run build && build",
"dev": "ng serve --extract-css --sourcemaps",
"dev:zh-CN": "ng serve --extract-css --sourcemaps --aot",
"dev:en-US": "ng serve --extract-css --sourcemaps --aot --locale en-US --i18n-format xlf --i18n-file src/locale/messages.en-US.xlf",
"build": "npm run build:zh-CN && npm run build:en-US",
"build:zh-CN": "ng build --extract-css --env=prod --aot --output-path public/zh-CN",
"build:en-US": "ng build --extract-css --env=prod --aot --output-path public/en-US --locale en-US --i18n-format xlf --i18n-file src/locale/messages.en-US.xlf",
"lint": "ng lint",
"i18n": "ng xi18n --locale=zh-CN",
"i18n:upload": "npm run i18n && curl --location --user ${TRANSIFEX_USERNAME}:${TRANSIFEX_PASSWORD} --request PUT --header 'Content-type: multipart/form-data' --form content=@messages.xlf https://www.transifex.com/api/2/project/moecube/resource/messages/content/",
"i18n:translate": "open https://www.transifex.com/moecube/moecube/translate/#en_US/messages/108367258?translated=no",
"i18n:download": "curl --output src/locale/messages.en-US.xlf --retry 5 --location --user ${TRANSIFEX_USERNAME}:${TRANSIFEX_PASSWORD} https://www.transifex.com/api/2/project/moecube/resource/messages/translation/en_US/?file && sed -i.bak 's/\\&/\\&/g; s/\\</</g; s/\\>/>/g; s/\\"/\"/g;' src/locale/messages.en-US.xlf",
"electron-rebuild": "electron-rebuild",
"postinstall": "cp common.js node_modules/@angular/cli/models/webpack-configs/common.js"
},
"dependencies": {
"@angular/animations": "^4.2.4",
"@angular/common": "^4.2.4",
"@angular/compiler": "^4.2.4",
"@angular/core": "^4.2.4",
"@angular/forms": "^4.2.4",
"@angular/http": "^4.2.4",
"@angular/platform-browser": "^4.2.4",
"@angular/platform-browser-dynamic": "^4.2.4",
"@angular/router": "^4.2.4",
"aria2": "^3.0.0",
"bootstrap": "^4.0.0-alpha.6",
"candy": "https://github.com/moecube/candy/releases/download/v2.2.0/candy.tar.gz",
"candy-shop": "zh99998/candy-plugins#patch-5",
"core-js": "^2.4.1",
"electron-cookies": "^1.1.0",
"electron-is-dev": "^0.3.0",
"electron-schema": "moecube/electron-schema",
"electron-store": "^1.2.0",
"electron-sudo": "github:moecube/electron-sudo#moecube",
"electron-updater": "^2.8.0",
"exports-loader": "^0.6.4",
"font-awesome": "^4.7.0",
"glob": "^7.1.2",
"i18n": "^0.8.3",
"imports-loader": "^0.7.1",
"ini": "^1.3.4",
"jquery": "^3.2.1",
"lodash": "^4.17.4",
"marked": "^0.3.6",
"ng2-split-pane": "^1.4.0",
"raw-socket": "^1.5.1",
"reconnecting-websocket": "^3.0.7",
"rxjs": "^5.4.2",
"tether": "^1.4.0",
"typeahead.js": "^0.11.1",
"uuid": "^3.1.0",
"vue": "^2.4.2",
"yargs": "^8.0.2",
"zone.js": "^0.8.14"
},
"devDependencies": {
"@angular/cli": "1.3.0-rc.3",
"@angular/compiler-cli": "^4.2.4",
"@angular/language-service": "^4.2.4",
"@types/bootstrap": "^3.3.35",
"@types/glob": "^5.0.30",
"@types/ini": "^1.3.29",
"@types/jquery": "^3.2.10",
"@types/lodash": "^4.14.71",
"@types/marked": "0.0.28",
"@types/node": "^6.0.85",
"@types/tether": "^1.4.2",
"@types/typeahead": "^0.11.29",
"@types/uuid": "^3.4.0",
"codelyzer": "~3.1.1",
"copy-webpack-plugin": "^4.0.1",
"electron": "^1.6.11",
"electron-builder": "^19.17.0",
"electron-rebuild": "^1.6.0",
"tslint": "~5.3.2",
"typescript": "~2.3.3"
},
"build": {
"productName": "MyCard",
"appId": "com.mycard.mycard",
"publish": [
{
"provider": "generic",
"url": "https://api.moecube.com/downloads"
},
{
"provider": "github"
}
],
"files": [
"app",
"index.js",
"package.json",
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples,*.d.ts}",
"!**/node_modules/.bin",
"!**/*.{o,hprof,orig,pyc,pyo,rbc}",
"!**/._*",
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db,.gitignore,.gitattributes,.editorconfig,.flowconfig,.yarn-metadata.json,.idea,appveyor.yml,.travis.yml,circle.yml,npm-debug.log,.nyc_output,yarn.lock,.yarn-integrity}"
],
"extraResources": [
"bin"
],
"dmg": {
"contents": [
{
"x": 448,
"y": 344,
"type": "link",
"path": "/Applications"
},
{
"x": 192,
"y": 344,
"type": "file"
}
]
}
}
}