forked from actionhero/ah-next-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
51 lines (51 loc) · 1.65 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
{
"author": "Evan Tahler <[email protected]>",
"name": "ah-next-plugin",
"description": "For booting a Next.JS React application inside of Actionhero",
"license": "Apache-2.0",
"version": "0.1.2",
"engines": {
"node": ">=8.0.0"
},
"dependencies": {},
"peerDependencies": {
"actionhero": "*",
"next": "*",
"react": "*",
"react-dom": "*"
},
"devDependencies": {
"@types/jest": "latest",
"@types/node": "latest",
"@types/react-dom": "latest",
"actionhero": "latest",
"ioredis": "latest",
"jest": "latest",
"request-promise-native": "latest",
"next": "latest",
"prettier": "latest",
"react": "latest",
"react-dom": "latest",
"ts-jest": "latest",
"ts-node-dev": "latest",
"typescript": "latest",
"winston": "latest",
"ws": "latest"
},
"scripts": {
"prepare": "yarn build",
"build": "yarn build-api && yarn build-web && yarn copy-dist",
"build-api": "cd api && rm -rf dist && tsc --declaration",
"build-web": "cd web && next build",
"copy-dist": "rm -rf dist && cp -r api/dist dist",
"start": "cd api && actionhero start",
"dev": "cd api && ts-node-dev --transpile-only --ignore-watch=\"../web\" --no-deps --notify=false ./../node_modules/.bin/actionhero start",
"test": "yarn test-api && yarn test-web",
"pretest": "yarn lint && yarn build",
"test-api": "cd api && jest",
"test-web": "echo 'no tests for react'",
"lint": "yarn lint-api && yarn lint-web",
"lint-api": "cd api && prettier --check src/**/*.ts __tests__/**/*.ts",
"lint-web": "cd web && prettier --check pages/**/*.tsx components/**/*.tsx __tests__/**/*.tsx"
}
}