Skip to content

Commit fe74e9b

Browse files
prepare for publishment
1 parent 9a4beb9 commit fe74e9b

File tree

3 files changed

+27
-4
lines changed

3 files changed

+27
-4
lines changed

.npmignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/examples
2+
/third_party
3+
/.github
4+
/test
5+
/src

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ The system calls provided by this library are configurable.
77

88
With minimal configuration, it provides WASI system calls which just return `WASI_ENOSYS`.
99

10+
## Installation
11+
12+
```bash
13+
npm install uwasi
14+
```
15+
1016
## Example
1117

1218
### With all system calls enabled

package.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,30 @@
11
{
22
"name": "uwasi",
33
"version": "1.0.0",
4-
"description": "",
4+
"description": "Micro modularized WASI runtime for JavaScript",
55
"main": "lib/cjs/index.js",
66
"module": "lib/esm/index.js",
77
"browser": {
88
"./lib/esm/platforms/crypto.js": "./lib/esm/platforms/crypto.browser.js"
99
},
1010
"scripts": {
1111
"build": "tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json",
12-
"test": "jest"
12+
"test": "jest",
13+
"prepare": "npm run build"
1314
},
14-
"keywords": [],
15-
"author": "",
15+
"keywords": ["webassembly", "wasm", "wasi"],
16+
"bugs": {
17+
"url": "https://github.com/swiftwasm/uwasi/issues"
18+
},
19+
"homepage": "https://github.com/swiftwasm/uwasi",
20+
"repository": {
21+
"type": "git",
22+
"url": "https://github.com/swiftwasm/uwasi.git"
23+
},
24+
"publishConfig": {
25+
"access": "public"
26+
},
27+
"author": "SwiftWasm Team",
1628
"license": "MIT",
1729
"devDependencies": {
1830
"@types/jest": "^28.1.4",

0 commit comments

Comments
 (0)