-
Notifications
You must be signed in to change notification settings - Fork 72
/
package.json
75 lines (75 loc) · 3.15 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
{
"name": "mailing-monorepo",
"homepage": "https://github.com/sofn-xyz/mailing#readme",
"version": "0.1.0",
"private": true,
"type": "module",
"license": "MIT",
"workspaces": [
"packages/*"
],
"scripts": {
"lint": "eslint .",
"dev": "cd packages/cli && yarn dev",
"dev:web": "cd packages/web && yarn dev",
"dev:init": "cd packages/cli && rm -rf previews_html; rm -rf .mailing emails mailing.config.json; src/dev.js",
"dev:export-previews": "yarn link:emails; cd packages/cli && rm -rf .mailing && src/dev.js export-previews",
"dev:server:build": "cd packages/cli && rm -rf .mailing && src/dev.js server build",
"link:emails": "echo 'noop'",
"build": "preconstruct build",
"test": "yarn jest",
"test:integration": "yarn integration:servers:start \"yarn jest -c jest.integration.config.ts $TEST_FLAGS\"",
"test:integration:watch": "yarn integration:servers:start \"yarn jest -c jest.integration.config.ts --watch\"",
"ci:test": "yarn test:servers:start test",
"ci:test:integration": "yarn integration:servers:start \"yarn jest -c jest.integration.config.ts\"",
"test:integration:cypress": "yarn integration:servers:start \"cd packages/cli && yarn cypress run -C cypressIntegration.config.ts\"",
"test:integration:cypress:open": "yarn integration:servers:start \"cd packages/cli && yarn cypress open -C cypressIntegration.config.ts\"",
"ci:cli": "cd packages/cli && yarn ci:server",
"ci:web": "cd packages/web && yarn ci:server",
"test:e2e": "bundle && bundle exec ruby e2e/cli.rb run-all",
"test:servers:start": "./scripts/assert-free-ports && MAILING_API_KEY=testApiKey MAILING_API_URL=http://localhost:3883 MAILING_DATABASE_URL=$MAILING_DATABASE_URL_TEST WEB_DATABASE_URL=$WEB_DATABASE_URL_TEST start-test ci:cli :3883 ci:web :3000",
"integration:servers:start": "MAILING_INTEGRATION_TEST=true yarn test:servers:start",
"prepublish": "yarn build",
"postinstall": "husky install && preconstruct dev",
"watch": "preconstruct watch",
"release": "./scripts/release"
},
"devDependencies": {
"@babel/core": "^7.18.5",
"@babel/eslint-parser": "^7.19.1",
"@babel/preset-env": "^7.18.2",
"@babel/preset-react": "^7.17.12",
"@babel/preset-typescript": "^7.17.12",
"@changesets/cli": "^2.23.0",
"@preconstruct/cli": "^2.2.2",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.2.0",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"eslint": "8.28.0",
"husky": "^8.0.1",
"jest": "^29.2.1",
"jest-environment-jsdom": "^29.0.3",
"lint-staged": "^13.0.3",
"next-router-mock": "^0.7.4",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"start-server-and-test": "^1.14.0",
"ts-jest": "29",
"ts-node": "^10.9.1",
"yalc": "^1.0.0-pre.53"
},
"preconstruct": {
"packages": [
"packages/cli",
"packages/core"
]
},
"dependencies": {}
}