forked from actionhero/ah-next-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
56 lines (56 loc) · 1.74 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
{
"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.4.0",
"engines": {
"node": ">=8.0.0"
},
"repository": {
"type": "git",
"url": "git://github.com/actionhero/ah-next-plugin.git"
},
"homepage": "http://www.actionherojs.com",
"dependencies": {},
"peerDependencies": {
"actionhero": "*",
"next": "*",
"react": "*",
"react-dom": "*"
},
"devDependencies": {
"@types/jest": "^26.0.15",
"@types/node": "^14.14.5",
"@types/react-dom": "^16.9.8",
"actionhero": "^24.0.1",
"ioredis": "^4.19.0",
"jest": "^26.6.1",
"next": "^10.0.0",
"prettier": "^2.1.2",
"react": "latest",
"react-dom": "latest",
"request-promise-native": "latest",
"ts-jest": "^26.4.3",
"ts-node-dev": "^1.0.0",
"typescript": "^4.0.5",
"winston": "^3.3.3",
"ws": "^7.3.1"
},
"scripts": {
"prepare": "npm run build",
"build": "npm run build-api && npm run build-web && npm run 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 ./src/server.ts",
"test": "npm run test-api && npm run test-web",
"pretest": "npm run lint && npm run build",
"test-api": "cd api && jest",
"test-web": "cd web && jest",
"lint": "npm run lint-api && npm run lint-web",
"lint-api": "cd api && prettier --check src __tests__",
"lint-web": "cd web && prettier --check pages"
}
}