-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
30 lines (30 loc) · 1.66 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
{
"name": "cordova-pull-request-stats",
"version": "1.0.0",
"description": "Stats pulled in from Apache Cordova repos on Github, and compiled using the [cordova-coho](https://github.com/apache/cordova-coho) tool.",
"main": "index.js",
"dependencies": {
"cordova-coho": "git+https://github.com/apache/cordova-coho.git"
},
"devDependencies": {},
"scripts": {
"list:all": "npm run list:platforms && npm run list:plugins",
"prelist:all": "npm run create-folders",
"list:platforms": "CORDOVA_GIT_ACCOUNT=$npm_package_config_GITHUB_API_KEY node_modules/.bin/coho list-pulls --repo=platforms --stats-only --json | tail -n +2 > `node -e \"console.log(new Date().toISOString().split('T')[0].split('-')[0])\"`/platforms-`node -e \"console.log(new Date().toISOString().split('T')[0])\"`.json",
"list:plugins": "CORDOVA_GIT_ACCOUNT=$npm_package_config_GITHUB_API_KEY node_modules/.bin/coho list-pulls --repo=plugins --stats-only --json | tail -n +2 > `node -e \"console.log(new Date().toISOString().split('T')[0].split('-')[0])\"`/plugins-`node -e \"console.log(new Date().toISOString().split('T')[0])\"`.json",
"create-folders": "mkdir -p `node -e \"console.log(new Date().toISOString().split('T')[0].split('-')[0])\"`"
},
"config": {
"GITHUB_API_KEY": "GENERATE A TOKEN FROM HERE: https://github.com/settings/tokens"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cordova/cordova-pull-request-stats.git"
},
"author": "",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/cordova/cordova-pull-request-stats/issues"
},
"homepage": "https://github.com/cordova/cordova-pull-request-stats#readme"
}