Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
52 lines (52 loc) · 1.98 KB
/
Copy pathpackage.json
File metadata and controls
52 lines (52 loc) · 1.98 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
{
"private": true,
"scripts": {
"lint": "./bin/lint_file.sh",
"fix": "./bin/clean_rlog_file.sh",
"fix-all": "npm run fix -- srcts",
"lint-all": "npm run lint -- srcts",
"typecheck": "tsc -p . && tsc -p tsconfig.test.json",
"test": "esbuild srcts/__tests__/graphReplay.test.ts --bundle --platform=node --log-level=warning --outfile=node_modules/.cache/reactlog-test/graphReplay.test.cjs && node node_modules/.cache/reactlog-test/graphReplay.test.cjs",
"build": "npm run lint-all && npm run typecheck && npm test && npm run build-only",
"build-only": "esbuild srcts/index.ts --bundle --minify --sourcemap --target=es2021 --outfile=inst/reactlog/reactlogAsset/reactlog.js",
"check-shiny-target": "node bin/check_shiny_target.js",
"watch": "npm run lint-all && npm run build-only -- --watch",
"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 inst/reactlog/reactlogAsset/reactlog.js.map && 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)\"",
"srcts/**/*.ts": [
"npm run fix --",
"npm run git_add_compiled --"
]
}
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/jquery": "^3.5.34",
"@types/lodash": "^4.17.26",
"@types/node": "^22.20.5",
"esbuild": "^0.28.2",
"eslint": "^10.13.0",
"license-checker": "^25.0.1",
"lint-staged": "8.x",
"pre-commit": "^1.2.2",
"prettier": "^3.9.10",
"typescript": "~6.0.3",
"typescript-eslint": "^8.72.0"
},
"dependencies": {
"cytoscape": "3.x",
"cytoscape-dagre": "2.x",
"jquery": "3.x",
"lodash": "4.x"
},
"version": "1.1.0",
"files": []
}