forked from sofn-xyz/mailing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
63 lines (63 loc) · 2.33 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
{
"name": "mailing-monorepo",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"dev": "cd packages/cli && rm -rf .mailing && src/dev.js",
"dev:js": "yarn link:emails:js && 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": "rm -rf emails; ln -s src/generator_templates/ts/emails emails;",
"link:emails:js": "rm -rf emails; ln -s src/generator_templates/js/emails emails;",
"build": "preconstruct build",
"test": "yarn link:emails; jest && yarn test:next-cli",
"test:watch": "yarn test --watch",
"test:next-cli": "NEXT_CLI_TESTS=1 jest",
"ci": "start-server-and-test ci:server http://localhost:3883 test",
"ci:server": "cd packages/cli && rm -rf .mailing && src/dev.js --quiet",
"prepublish": "yarn build",
"watch": "preconstruct watch",
"release": "yarn build && ./scripts/prepare-release && yarn changeset publish",
"postinstall": "preconstruct dev",
"e2e": "cd scripts/e2e_test/ && bundle && bundle exec ruby e2e_test.rb",
"e2e:jest": "yarn jest --rootDir=scripts/e2e_test/jest_tests -c scripts/e2e_test/jest_tests/jest.config.js"
},
"license": "MIT",
"workspaces": [
"packages/*"
],
"homepage": "https://github.com/sofn-xyz/mailing#readme",
"devDependencies": {
"@babel/preset-react": "^7.17.12",
"@babel/preset-typescript": "^7.17.12",
"@changesets/cli": "^2.23.0",
"@preconstruct/cli": "^2.2.1",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^28.1.6",
"@types/react": "^18.0.15",
"@types/react-dom": "^18.0.6",
"jest": "^29.0.3",
"jest-environment-jsdom": "^29.0.3",
"next-router-mock": "^0.7.4",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"ts-jest": "29",
"ts-node": "^10.9.1"
},
"preconstruct": {
"packages": [
"packages/cli",
"packages/core"
]
},
"dependencies": {
"@babel/core": "^7.18.5",
"@babel/preset-env": "^7.18.2",
"start-server-and-test": "^1.14.0",
"yalc": "^1.0.0-pre.53"
}
}