85 lines
2.3 KiB
JSON
85 lines
2.3 KiB
JSON
{
|
|
"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 <kaushik@cosmonic.com>",
|
|
"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.75.0",
|
|
"webpack-cli": "^4.8.0"
|
|
},
|
|
"dependencies": {
|
|
"@msgpack/msgpack": "^2.8.0",
|
|
"@wapc/host": "0.0.2",
|
|
"axios": "^0.24.0",
|
|
"copy-webpack-plugin": "^11.0.0",
|
|
"esbuild": "^0.16.9",
|
|
"fs": "^0.0.1-security",
|
|
"nats.ws": "^1.2.0"
|
|
}
|
|
}
|