forked from ForbesLindesay/atdatabases
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
77 lines (77 loc) · 2.9 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
76
77
{
"name": "atdatabases",
"private": true,
"@rollingversions/ignore": true,
"workspaces": [
"packages/*"
],
"scripts": {
"update-workflows": "github-actions-workflow-builder --cleanup --directory .github/workflows-src",
"postinstall": "node scripts/postinstall",
"prebuild": "wsrun --stages --exclude-missing -x @databases/website build",
"build": "tsc --build scripts",
"build:watch": "yarn build --watch",
"prerelease": "yarn build:all",
"prettier:check": "prettier --list-different \"packages/*/src/**/*.{ts,tsx}\"",
"prettier:write": "prettier --write \"packages/*/src/**/*.{ts,tsx}\"",
"pretest": "yarn build",
"test": "TZ=Australia/Adelaide jest --selectProjects node --selectProjects pg --selectProjects mysql",
"test:node": "TZ=Australia/Adelaide jest --selectProjects node",
"test:pg": "TZ=Australia/Adelaide jest --selectProjects pg",
"test:mysql": "TZ=Australia/Adelaide jest --selectProjects mysql",
"test:mysql:5.6": "MYSQL_TEST_IMAGE=mysql:5.6.51 TZ=Australia/Adelaide jest --selectProjects mysql",
"test:mysql:5.7": "MYSQL_TEST_IMAGE=mysql:5.7.33 TZ=Australia/Adelaide jest --selectProjects mysql",
"test:bigquery": "TZ=Australia/Adelaide jest --selectProjects bigquery",
"posttest": "wsrun --parallel --exclude-missing test",
"watch:jest": "jest --watch",
"clean": "rimraf packages/*/lib && rimraf packages/*/.last_build && rimraf packages/*/.cache && rimraf packages/*/build && rimraf packages/*/node_modules && rimraf node_modules",
"tslint": "tslint './packages/*/src/**/*.{js,jsx,ts,tsx}' -t verbose -p ."
},
"jest": {
"projects": [
{
"displayName": "node",
"testRegex": "/__tests__/.+\\.test\\.(tsx?)$",
"preset": "ts-jest"
},
{
"displayName": "pg",
"testRegex": "/__tests__/.+\\.test\\.pg\\.(tsx?)$",
"globalSetup": "./packages/pg-test/jest/globalSetup",
"globalTeardown": "./packages/pg-test/jest/globalTeardown",
"preset": "ts-jest"
},
{
"displayName": "mysql",
"testRegex": "/__tests__/.+\\.test\\.mysql\\.(tsx?)$",
"globalSetup": "./packages/mysql-test/jest/globalSetup",
"globalTeardown": "./packages/mysql-test/jest/globalTeardown",
"preset": "ts-jest"
},
{
"displayName": "bigquery",
"testRegex": "/__tests__/.+\\.test\\.bigquery\\.(tsx?)$",
"preset": "ts-jest"
}
]
},
"dependencies": {
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@types/jest": "^26.0.15",
"@types/node": "^14.14.25",
"cross-spawn": "^7.0.2",
"github-actions-workflow-builder": "^1.0.3",
"jest": "^26.6.1",
"lsr": "^2.0.0",
"mkdirp": "^1.0.4",
"prettier": "^2.0.5",
"ts-jest": "^26.4.2",
"tslint": "^6.1.1",
"typescript": "^4.1.2",
"wsrun": "^5.2.0"
},
"resolutions": {
"@types/node": "^14.14.25"
}
}