forked from concord-consortium/codap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 5.44 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
{
"name": "CODAP",
"description": "Common Online Data Analysis Platform",
"version": "2.0.0",
"main": "apps/dg/index.html",
"scripts": {
"build:comment": "echo Usage: `npm run build` performs a local development build",
"build": "npm run build:dev",
"build:bundle": "npm run build:bundle-dev",
"build:bundle-dev:comment": "echo Usage: `npm run build:bundle-dev` builds a development version of the `codap-lib-bundle.js`",
"build:bundle-dev": "webpack",
"build:bundle-prod:comment": "echo Usage: `npm run build:bundle-prod` builds a production version of the `codap-lib-bundle.js`",
"build:bundle-prod": "NODE_ENV=production webpack --progress",
"build:cfm:comment": "echo Usage: `npm run build:cfm` builds CFM for CODAP. Assumes that CFM repository named 'cloud-file-manager' and CODAP repository named 'codap' are siblings.",
"build:cfm": "cd ../cloud-file-manager && npm run build:codap && cd ../codap",
"build:dev:comment": "echo Usage: `npm run build:dev` performs a local development build",
"build:dev": "npm run build:bundle-dev && npm run build:local",
"build:embedded:comment": "echo Usage: `npm run build:embedded` builds a CODAP embedded mode package named embeddedCODAP",
"build:embedded": "bin/makeCodapZip --root=embeddedCODAP embeddedCODAP",
"build:embedded-dev": "bin/makeCodapZip --root=embeddedCODAP --minify=no embeddedCODAP",
"build:local:comment": "echo Usage: `npm run build:local` performs a local sproutcore build",
"build:local": "sproutcore build -vv dg",
"build:parser:comment": "echo Usage: `npm run build:parser` uses PEG.js to build the formula parser from the grammar",
"build:parser": "pegjs --export-var 'DG.formulaParser' 'apps/dg/formula/formulaGrammar.pegjs' 'apps/dg/formula/formulaParser.js'",
"build:production:comment": "Usage: `npm run build:production` performs a local production build",
"build:production": "npm run build:bundle-prod && npm run build:local",
"build:travis": "npm run build:bundle-prod && bin/makeCodapZip --languages=en travis",
"clean": "rm -rf tmp && rm -rf apps/dg/resources/build",
"clean-and-build": "clear && npm run clean && npm run build:bundle-prod && npm run build:local",
"clean-and-serve": "clear && npm run clean && npm run build:bundle-dev && npm run codap",
"cloudfront:invalidations": "s3cmd cfinvalinfo cf://E6OL76123FRO6",
"cloudfront:inval-root": "aws cloudfront create-invalidation --distribution-id E6OL76123FRO6 --paths /index.html",
"codap:comment": "echo Usage: `npm run codap` launches sc-server. Point browser at http://localhost:4020/dg or `npm run open:dev`.",
"codap": "sproutcore server",
"deploy:dev:comment": "echo Usage: `npm run deploy:dev -- {deployName}` builds and deploys CODAP to 'https://codap.concord.org/~user/deployName'",
"deploy:dev": "npm run build:bundle-dev && ./bin/deployDevCodap",
"lint": "eslint *.js apps && jshint -e .json *.json apps --verbose",
"lint:fix:comment": "echo Usage: `npm run lint:fix` runs ESLint configured to fix issues that can be fixed automatically, e.g. missing semicolons.",
"lint:fix": "eslint --fix *.js apps",
"open:dev": "opener http://localhost:4020/dg",
"open:staging": "opener http://codap.concord.org/releases/staging",
"open:production": "opener http://codap.concord.org/releases/latest",
"prebuild:bundle": "npm run lint",
"prebuild:production": "npm run lint",
"predeploy:dev": "npm run test",
"prepush": "npm run test",
"pretest": "npm run lint",
"pt:accepted-between:comment": "echo Usage: `npm run pt:accepted-between date1 date2` Prints accepted stories for interval",
"pt:accepted-between": "bin/pt-accepted-between",
"pt:make-release-story": "bin/pt-make-release-story",
"push:comment": "echo Usage: `npm run push` pushes local commits on the current branch to the remote origin, setting up the tracking branch if necessary.",
"push": "git push --set-upstream origin HEAD",
"strings:build": "./bin/strings-build.sh",
"strings:pull:usage": "echo Usage: `npm run strings:pull -- -a <poeditor_api_key>`",
"strings:pull": "./bin/strings-pull-project.sh",
"strings:push:usage": "echo Usage: `npm run strings:push -- -a <poeditor_api_key>`",
"strings:push": "./bin/strings-push-project.sh",
"test:gui:comment": "echo Usage: `npm run test:gui` opens the default browser to the DG unit tests. Requires that sc-server be running.",
"test:gui": "opener http://localhost:4020/dg/en/current/tests.html",
"test:comment": "echo Usage: `npm run test` or `npm test` runs DG unit tests via PhantomJS.",
"test": "sc-phantom --include-targets=/dg"
},
"repository": {
"type": "git",
"url": "git+https://github.com/concord-consortium/codap.git"
},
"author": "Concord Consortium",
"license": "MIT",
"bugs": {
"url": "https://github.com/concord-consortium/codap/issues"
},
"homepage": "http://codap.concord.org/",
"devDependencies": {
"eslint": "^3.9.1",
"jshint": "^2.9.4",
"opener": "^1.4.2",
"pegjs": "=0.7.0",
"phantomjs-prebuilt": "^2.1.13",
"strip-json-comments-cli": "^1.0.1",
"webpack": "2.2.0-rc.2",
"webpack-shell-plugin": "^0.5.0"
},
"dependencies": {
"deep-equal": "^1.0.1",
"esri-leaflet": "1.0.0-rc.8",
"fastclick": "^1.0.6",
"iframe-phone": "^1.1.3",
"leaflet": "0.7.2",
"moment": "^2.18.1",
"papaparse": "^4.1.4",
"pluralize": "^4.0.0",
"react": "^15.4.1",
"react-dom": "^15.4.1"
}
}