|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
{
|
|
|
|
|
"name": "grist-core",
|
|
|
|
|
"version": "1.1.1",
|
|
|
|
|
"version": "1.1.2",
|
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
|
"description": "Grist is the evolution of spreadsheets",
|
|
|
|
|
"homepage": "https://github.com/gristlabs/grist-core",
|
|
|
|
@ -13,8 +13,8 @@
|
|
|
|
|
"install:python3": "buildtools/prepare_python3.sh",
|
|
|
|
|
"build:prod": "buildtools/build.sh",
|
|
|
|
|
"start:prod": "sandbox/run.sh",
|
|
|
|
|
"test": "GRIST_SESSION_COOKIE=grist_test_cookie GRIST_TEST_LOGIN=1 TEST_SUPPORT_API_KEY=api_key_for_support TEST_CLEAN_DATABASE=true mocha ${DEBUG:+-b --no-exit} --slow 8000 ${DEBUG:---forbid-only} -g \"${GREP_TESTS}\" '_build/test/common/*.js' '_build/test/client/*.js' '_build/test/nbrowser/*.js' '_build/test/server/**/*.js' '_build/test/gen-server/**/*.js'",
|
|
|
|
|
"test:nbrowser": "TEST_SUITE=nbrowser TEST_SUITE_FOR_TIMINGS=nbrowser TIMINGS_FILE=test/timings/nbrowser.txt GRIST_SESSION_COOKIE=grist_test_cookie GRIST_TEST_LOGIN=1 TEST_SUPPORT_API_KEY=api_key_for_support TEST_CLEAN_DATABASE=true mocha ${DEBUG:+-b --no-exit} ${DEBUG:---forbid-only} -g \"${GREP_TESTS}\" --slow 8000 -R test/xunit-file '_build/test/nbrowser/**/*.js'",
|
|
|
|
|
"test": "GRIST_SESSION_COOKIE=grist_test_cookie GRIST_TEST_LOGIN=1 TEST_SUPPORT_API_KEY=api_key_for_support TEST_CLEAN_DATABASE=true mocha ${DEBUG:+-b --no-exit} --slow 8000 $([ -z $DEBUG ] && echo --forbid-only) -g \"${GREP_TESTS}\" '_build/test/common/*.js' '_build/test/client/*.js' '_build/test/nbrowser/*.js' '_build/test/server/**/*.js' '_build/test/gen-server/**/*.js'",
|
|
|
|
|
"test:nbrowser": "TEST_SUITE=nbrowser TEST_SUITE_FOR_TIMINGS=nbrowser TIMINGS_FILE=test/timings/nbrowser.txt GRIST_SESSION_COOKIE=grist_test_cookie GRIST_TEST_LOGIN=1 TEST_SUPPORT_API_KEY=api_key_for_support TEST_CLEAN_DATABASE=true mocha ${DEBUG:+-b --no-exit} $([ -z $DEBUG ] && echo --forbid-only) -g \"${GREP_TESTS}\" --slow 8000 -R test/xunit-file '_build/test/nbrowser/**/*.js'",
|
|
|
|
|
"test:client": "GRIST_SESSION_COOKIE=grist_test_cookie mocha ${DEBUG:+'-b'} '_build/test/client/**/*.js'",
|
|
|
|
|
"test:common": "GRIST_SESSION_COOKIE=grist_test_cookie mocha ${DEBUG:+'-b'} '_build/test/common/**/*.js'",
|
|
|
|
|
"test:server": "TEST_SUITE=server TEST_SUITE_FOR_TIMINGS=server TIMINGS_FILE=test/timings/server.txt GRIST_SESSION_COOKIE=grist_test_cookie mocha ${DEBUG:+'-b'} -R test/xunit-file '_build/test/server/**/*.js' '_build/test/gen-server/**/*.js'",
|
|
|
|
@ -190,11 +190,13 @@
|
|
|
|
|
"@gristlabs/sqlite3": "5.1.4-grist.8"
|
|
|
|
|
},
|
|
|
|
|
"mocha": {
|
|
|
|
|
"require": ["test/setupPaths",
|
|
|
|
|
"source-map-support/register",
|
|
|
|
|
"test/report-why-tests-hang",
|
|
|
|
|
"test/init-mocha-webdriver",
|
|
|
|
|
"test/split-tests",
|
|
|
|
|
"test/chai-as-promised"]
|
|
|
|
|
"require": [
|
|
|
|
|
"test/setupPaths",
|
|
|
|
|
"source-map-support/register",
|
|
|
|
|
"test/report-why-tests-hang",
|
|
|
|
|
"test/init-mocha-webdriver",
|
|
|
|
|
"test/split-tests",
|
|
|
|
|
"test/chai-as-promised"
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|