-
Notifications
You must be signed in to change notification settings - Fork 957
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.55 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 2.55 KB
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": "wei-nextjs-adapter-test",
"version": "15.0.13",
"main": "dist/index.js",
"description": "Experimental addon to the Firebase CLI to add web framework support",
"repository": {
"type": "git",
"url": "git+https://github.com/FirebaseExtended/firebase-framework-tools.git"
},
"bin": {
"apphosting-adapter-nextjs-build": "dist/bin/build.js",
"apphosting-adapter-nextjs-serve": "dist/bin/serve.js",
"apphosting-adapter-nextjs-create": "dist/bin/create.js"
},
"author": {
"name": "Firebase",
"url": "https://firebase.google.com/"
},
"bugs": {
"url": "https://github.com/FirebaseExtended/firebase-framework-tools/issues"
},
"type": "module",
"sideEffects": false,
"scripts": {
"build": "rm -rf dist && tsc && npm run bundle",
"bundle": "esbuild src/bin/build.ts --bundle --platform=node --format=esm --banner:js='#!/usr/bin/env node' --outfile=dist/bin/build.js --external:esbuild --external:fs-extra && esbuild src/bin/serve.ts --bundle --platform=node --format=esm --banner:js='#!/usr/bin/env node' --outfile=dist/bin/serve.js --external:next --external:react --external:react-dom && esbuild src/index.ts --bundle --platform=node --format=cjs --outfile=dist/index.js",
"test": "npm run test:unit && npm run test:functional",
"test:unit": "ts-mocha -p tsconfig.json 'src/**/*.spec.ts' 'src/*.spec.ts'",
"test:functional": "node --loader ts-node/esm ./e2e/run-local.ts",
"localregistry:start": "npx verdaccio --config ../publish-dev/verdaccio-config.yaml",
"localregistry:publish": "(npm view --registry=http://localhost:4873 @apphosting/adapter-nextjs && npm unpublish --@apphosting:registry=http://localhost:4873 --force); npm publish --@apphosting:registry=http://localhost:4873"
},
"exports": {
".": {
"node": "./dist/index.js",
"default": null
},
"./dist/*": {
"node": "./dist/*",
"default": null
}
},
"files": [
"dist"
],
"license": "Apache-2.0",
"dependencies": {
"@apphosting/common": "*",
"esbuild": "^0.25.0",
"fastify": "^5.6.1",
"fs-extra": "^11.1.1",
"yaml": "^2.3.4"
},
"peerDependencies": {
"next": "*"
},
"peerDependenciesMeta": {
"next": {
"optional": true
}
},
"devDependencies": {
"@types/fs-extra": "*",
"@types/mocha": "*",
"@types/tmp": "*",
"mocha": "*",
"next": "15.6.0-canary.54",
"protoc": "^32.1.0",
"semver": "*",
"tmp": "*",
"ts-mocha": "*",
"ts-node": "*",
"ts-proto": "^2.7.7",
"typescript": "*",
"verdaccio": "^5.30.3"
}
}