forked from finos/perspective
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 3.43 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
{
"private": true,
"workspaces": [
"packages/*",
"examples/*"
],
"devDependencies": {
"@apache-arrow/es5-esm": "^0.3.1",
"babel-eslint": "^8.2.3",
"chart.js": "^2.7.1",
"codemirror": "^5.30.0",
"codemirror-javascript": "^0.2.0",
"documentation": "^5.3.3",
"eslint": "^4.19.1",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-prettier": "^2.6.2",
"jasmine": "^2.8.0",
"jasmine-core": "^2.8.0",
"jest": "^23.6.0",
"js-beautify": "^1.8.6",
"lerna": "^2.11.0",
"minimist": "^1.2.0",
"mkdirp": "^0.5.1",
"npm-run-all": "^4.1.3",
"pre-commit": "^1.2.2",
"prettier": "^1.14.2",
"rimraf": "^2.6.2",
"ts-loader": "^3.5.0",
"typescript": "~2.9.2",
"webpack": "^3.5.6"
},
"pre-commit": [
"precommit"
],
"scripts": {
"build,test": "npm run --silent build && npm run --silent test",
"build,test,bench": "npm run --silent build && npm run --silent test && npm run --silent bench",
"build,bench": "npm run --silent build && npm run --silent bench",
"build": "bash -c '[[ -z \"${PSP_DOCKER}\" ]] && npm run --silent _build || npm run --silent _emsdk -- npm run --silent _build'",
"build_cpp": "lerna run build:cpp ${PACKAGE:+--scope=@jpmorganchase/perspective} --stream",
"bench": "node scripts/bench.js",
"docs": "lerna run docs --silent --stream",
"test": "node scripts/test.js",
"test_cpp": "lerna run test:cpp ${PACKAGE:+--scope=@jpmorganchase/perspective} --stream",
"clean": "find obj -mindepth 1 -delete && lerna run clean ${PACKAGE:+--scope=@jpmorganchase/${PACKAGE}} --stream",
"preclean:screenshots": "lerna exec -- mkdir -p screenshots",
"clean:screenshots": "lerna run clean:screenshots ${PACKAGE:+--scope=@jpmorganchase/${PACKAGE}}",
"start": "lerna run start --stream --scope",
"precommit": "npm run lint",
"lint": "npm-run-all --silent lint:*",
"lint:eslint": "eslint packages/*/src/**/*.js packages/*/test/**/*.js examples/*/*.js",
"lint:clang:cpp": "bash -c 'diff -u <(cat src/cpp/*) <(clang-format -style=file src/cpp/*)'",
"lint:clang:include": "bash -c 'diff -u <(cat src/include/perspective/*) <(clang-format -style=file src/include/perspective/*)'",
"fix:es": "npm run lint:eslint -- --fix",
"fix:clang": "clang-format -i -style=file src/cpp/*.cpp && clang-format -i -style=file src/include/perspective/*.h",
"fix:less": "prettier --tab-width 4 --write packages/**/src/less/*.less",
"fix:html": "html-beautify packages/**/src/html/*.html -r",
"fix:json": "prettier --tab-width 4 --write **/package.json",
"fix": "npm-run-all --silent fix:*",
"_build": "lerna run build ${PACKAGE:+--scope=@jpmorganchase/${PACKAGE}} --stream",
"_emsdk": "docker run --rm -it ${PSP_CPU_COUNT:+--cpus=\"${PSP_CPU_COUNT}.0\"} -v $(pwd):/src -e PACKAGE=${PACKAGE} perspective/emsdk"
},
"jest": {
"roots": [
"packages/perspective/build",
"packages/perspective-viewer/test/js",
"packages/perspective-viewer-hypergrid/test/js",
"packages/perspective-viewer-highcharts/test/js"
],
"verbose": true,
"testURL": "http://localhost/",
"transform": {},
"automock": false
}
}