add package.json

This commit is contained in:
Hans Fast 2025-11-22 08:12:12 +01:00
parent b300cdf422
commit bda9424d37
4 changed files with 20 additions and 3 deletions

View File

@ -22,7 +22,7 @@ export default {
//config.ori
{
hello = "world"
foo.handler = ./dj.handler.js
foo.handler = foo.handler.js
}
```

View File

@ -1,5 +1,5 @@
{
hello = "world"
foo.handler = ./dj.handler.js
foo.handler = foo.handler.js
}

View File

@ -1,4 +1,4 @@
//I believe this is not being used, because in doctree.js, isUnpackable is false, and toString is not exported by @weborigami/origami anymore ... ?
//I believe this is not being used at all, because toString is not exported by @weborigami/origami anymore ... ?
import { toString } from "@weborigami/origami";
export default {

17
package.json Normal file
View File

@ -0,0 +1,17 @@
{
"name": "ori-handler-test",
"version": "1.0.0",
"description": "Following the [docs](https://weborigami.org/language/filetypes#custom-file-types), I have created a file `foobar.foo` and a handler `foo.handler.js`.",
"main": "foo.handler.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git:hans/ori-handler-test"
},
"keywords": [],
"author": "",
"license": "ISC",
"type": "commonjs"
}