-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
81 lines (81 loc) · 2.17 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "@wasmcloud/wasmcloud-js",
"version": "1.0.6",
"description": "wasmcloud host in JavaScript/Browser",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"files": [
"dist",
"src",
"README.md",
"wasmcloud-rs-js"
],
"scripts": {
"build": "npm run clean && npm run build:browser && npm run build:cjs",
"build:browser": "webpack",
"build:cjs": "tsc --declaration && webpack --env target=cjs",
"build:wasm": "cd wasmcloud-rs-js && wasm-pack build",
"clean": "rm -rf ./dist/ && rm -rf ./wasmcloud-rs-js/pkg/",
"lint": "eslint --ext .ts src test",
"format": "prettier --write 'src/**/*.ts' 'test/**/*.ts'",
"test": "mocha --require ts-node/register",
"watch": "npm run clean && tsc -w --declrataion",
"prepare": "npm run build"
},
"prettier": "./.prettierrc.json",
"keywords": [
"wasmcloud",
"wasmcloud-host",
"wasmcloud-js",
"wasm"
],
"eslintConfig": {
"$schema": "http://json.schemastore.org/eslintrc",
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
]
},
"mocha": {
"$schema": "https://json.schemastore.org/mocharc",
"extension": [
"ts"
],
"spec": "test/**/*.test.ts"
},
"author": "ks2211 <[email protected]>",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@types/chai": "^4.2.21",
"@types/chai-as-promised": "^7.1.4",
"@types/mocha": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.29.2",
"@wasm-tool/wasm-pack-plugin": "^1.5.0",
"babel-loader": "^8.2.2",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"eslint": "^7.32.0",
"mocha": "^9.0.3",
"path": "^0.12.7",
"prettier": "^2.3.2",
"ts-loader": "^9.2.5",
"ts-node": "^10.2.1",
"typescript": "^4.3.5",
"webpack": "^5.50.0",
"webpack-cli": "^4.8.0"
},
"dependencies": {
"@msgpack/msgpack": "^2.7.1",
"@wapc/host": "0.0.2",
"axios": "^0.24.0",
"nats.ws": "^1.2.0"
}
}