-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
68 lines (68 loc) · 2.27 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
{
"private": true,
"scripts": {
"flow-report": "flow-coverage-report",
"flow-report-and-echo": "yarn flow-report && echo 'done flow report'",
"flow-status": "flow status",
"flow-stop": "flow stop",
"lint": "./bin/lint_file.sh",
"fix": "./bin/clean_rlog_file.sh",
"fix-all": "yarn fix srcjs/*.js srcjs/**/*.js",
"lint-all": "yarn lint srcjs/*.js srcjs/**/*.js",
"build": "yarn lint-all && yarn build-only",
"build-only": "grunt",
"watch": "yarn lint-all && grunt webpackSetWatch default",
"update-license": "node ./bin/update-license.js > LICENSE.note",
"postinstall": "./bin/postinstall.sh",
"lint-staged": "lint-staged",
"git_add_compiled": "git add inst/reactlog/reactlogAsset/reactlog.js && git add"
},
"pre-commit": "lint-staged",
"lint-staged": {
"concurrent": false,
"linters": {
"R/*.R": "Rscript -e \"devtools::load_all(); devtools::lint(cache = FALSE) -> lints; if(length(lints) > 0) print(lints); testthat::expect_equal(length(lints), 0)\"",
".flowconfig": "yarn flow-report-and-echo",
"srcjs/**/*.js": ["yarn fix", "yarn flow-report-and-echo", "yarn git_add_compiled"]
}
},
"flow-coverage-report": {
"globIncludePatterns": "srcjs/**/*.js",
"globExcludeGlob": ["srcjs/utils/Console.js", "srcjs/cyto/layoutOptions.js", "srcjs/log/initStep.js", "srcjs/rlog.js"],
"threshold": 95,
"reportType": "text"
},
"devDependencies": {
"@babel/core": "7.x",
"@babel/plugin-proposal-class-properties": "7.x",
"@babel/preset-env": "7.x",
"@babel/preset-flow": "7.x",
"babel-eslint": "10.x",
"babel-loader": "8.x",
"duplicate-package-checker-webpack-plugin": "3.x",
"eslint": "5.x",
"eslint-plugin-flowtype": "3.x",
"flow-bin": "^0.86.0",
"flow-coverage-report": "0.6.x",
"flow-typed": "^2.5.1",
"grunt": "1.x",
"grunt-cli": "1.x",
"grunt-webpack": "3.x",
"license-checker": "^25.0.1",
"lint-staged": "8.x",
"pre-commit": "^1.2.2",
"prettier": "1.x",
"webpack": "4.x",
"webpack-bundle-analyzer": "3.x"
},
"dependencies": {
"@babel/polyfill": "^7.2.5",
"core-js": "2",
"cytoscape": "3.x",
"cytoscape-dagre": "2.x",
"jquery": "3.x",
"lodash": "4.x"
},
"version": "1.1.0",
"files": []
}