-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
Copy pathpackage.json
18 lines (18 loc) · 1.14 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
"devDependencies": {
"lerna": "^2.5.1"
},
"scripts": {
"start": "lerna run start ${PACKAGE:+--scope=@jpmorganchase/${PACKAGE}} --stream",
"travis_start": "lerna run start ${PACKAGE:+--scope=@jpmorganchase/${PACKAGE}} --stream && lerna run compile_test --stream",
"puppeteer": "docker run -it --rm --shm-size=2g -u root -e WRITE_TESTS=${WRITE_TESTS} -v $(pwd):/src -w /src/packages/${PACKAGE} perspective/puppeteer ./node_modules/.bin/jest --runInBand",
"postinstall": "lerna bootstrap --hoist",
"test": "lerna run compile_test --stream && npm run test_perspective && npm run test_viewer && npm run test_hypergrid && npm run test_highcharts",
"test_perspective": "PACKAGE=perspective npm run puppeteer",
"test_viewer": "PACKAGE=perspective-viewer npm run puppeteer",
"test_hypergrid": "PACKAGE=perspective-viewer-hypergrid npm run puppeteer",
"test_highcharts": "PACKAGE=perspective-viewer-highcharts npm run puppeteer",
"write_tests": "WRITE_TESTS=1 npm run test",
"travis_test": "docker run -it --rm --shm-size=2g -u root -e WRITE_TESTS=${WRITE_TESTS} -v $(pwd):/src -w /src/ perspective/puppeteer ./node_modules/.bin/lerna run test"
}
}