2021-01-27 08:45:18 +03:00
|
|
|
{
|
|
|
|
"name": "@urbit/http-api",
|
2022-04-27 19:17:57 +03:00
|
|
|
"version": "2.1.1",
|
2021-01-27 08:45:18 +03:00
|
|
|
"license": "MIT",
|
|
|
|
"description": "Library to interact with an Urbit ship over HTTP",
|
2021-02-17 05:22:07 +03:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2021-02-15 01:15:43 +03:00
|
|
|
"url": "ssh://git@github.com/urbit/urbit.git",
|
|
|
|
"directory": "pkg/npm/http-api"
|
|
|
|
},
|
2021-11-09 03:43:22 +03:00
|
|
|
"type": "module",
|
2022-04-20 18:00:46 +03:00
|
|
|
"main": "dist/cjs/index.cjs",
|
2021-11-09 03:43:22 +03:00
|
|
|
"module": "dist/esm/index.js",
|
2022-04-20 18:00:46 +03:00
|
|
|
"exports": {
|
|
|
|
"require": "./dist/cjs/index.cjs",
|
|
|
|
"import": "./dist/esm/index.js"
|
|
|
|
},
|
2021-11-09 03:43:22 +03:00
|
|
|
"jsdelivr": "dist/urbit-http-api.min.js",
|
|
|
|
"unpkg": "dist/urbit-http-api.min.js",
|
2021-11-09 23:51:52 +03:00
|
|
|
"types": "dist/index.d.ts",
|
2021-11-10 22:52:08 +03:00
|
|
|
"files": [
|
2021-11-09 23:51:52 +03:00
|
|
|
"dist/**"
|
2021-01-27 08:45:18 +03:00
|
|
|
],
|
|
|
|
"scripts": {
|
2021-07-12 05:07:19 +03:00
|
|
|
"test": "jest",
|
2021-11-09 03:43:22 +03:00
|
|
|
"build": "npm run clean && rollup -c && npx tsc -p tsconfig.json",
|
2021-07-01 06:28:25 +03:00
|
|
|
"prepare": "npm run build",
|
2021-11-09 03:43:22 +03:00
|
|
|
"watch": "rollup -c -w",
|
|
|
|
"clean": "rm -rf dist/* types/*"
|
2021-01-27 08:45:18 +03:00
|
|
|
},
|
|
|
|
"prettier": {
|
|
|
|
"printWidth": 80,
|
|
|
|
"semi": true,
|
|
|
|
"singleQuote": true,
|
|
|
|
"trailingComma": "es5"
|
|
|
|
},
|
2021-02-15 01:15:43 +03:00
|
|
|
"author": "",
|
2021-01-27 08:45:18 +03:00
|
|
|
"devDependencies": {
|
2021-11-09 03:43:22 +03:00
|
|
|
"@babel/core": "^7.15.8",
|
|
|
|
"@babel/preset-env": "^7.15.8",
|
2021-11-09 22:16:48 +03:00
|
|
|
"@babel/preset-typescript": "^7.16.0",
|
2021-11-09 03:43:22 +03:00
|
|
|
"@rollup/plugin-babel": "^5.3.0",
|
|
|
|
"@rollup/plugin-commonjs": "^21.0.1",
|
|
|
|
"@rollup/plugin-node-resolve": "^13.0.6",
|
2021-02-25 06:58:32 +03:00
|
|
|
"@types/browser-or-node": "^1.2.0",
|
2021-01-27 08:45:18 +03:00
|
|
|
"@types/eventsource": "^1.1.5",
|
2021-07-12 05:07:19 +03:00
|
|
|
"@types/jest": "^26.0.24",
|
2021-01-27 08:45:18 +03:00
|
|
|
"@types/react": "^16.9.56",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^4.7.0",
|
|
|
|
"@typescript-eslint/parser": "^4.7.0",
|
2021-07-12 05:07:19 +03:00
|
|
|
"babel-jest": "^27.0.6",
|
|
|
|
"cross-fetch": "^3.1.4",
|
|
|
|
"event-target-polyfill": "0.0.3",
|
|
|
|
"fast-text-encoding": "^1.0.3",
|
|
|
|
"jest": "^27.0.6",
|
2021-11-09 03:43:22 +03:00
|
|
|
"rollup": "^2.59.0",
|
|
|
|
"rollup-plugin-terser": "^7.0.2",
|
2021-11-09 21:43:39 +03:00
|
|
|
"rollup-plugin-typescript2": "^0.30.0",
|
2021-01-27 08:45:18 +03:00
|
|
|
"typescript": "^3.9.7",
|
2021-02-25 06:58:32 +03:00
|
|
|
"util": "^0.12.3",
|
2021-07-12 05:07:19 +03:00
|
|
|
"web-streams-polyfill": "^3.0.3",
|
|
|
|
"yet-another-abortcontroller-polyfill": "0.0.4"
|
2021-01-27 08:45:18 +03:00
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@babel/runtime": "^7.12.5",
|
2021-02-25 06:58:32 +03:00
|
|
|
"@microsoft/fetch-event-source": "^2.0.0",
|
2021-11-09 22:16:48 +03:00
|
|
|
"browser-or-node": "^1.3.0",
|
|
|
|
"core-js": "^3.19.1"
|
2021-07-01 05:08:50 +03:00
|
|
|
}
|
2021-01-27 08:45:18 +03:00
|
|
|
}
|