2021-01-27 08:45:18 +03:00
|
|
|
{
|
|
|
|
"name": "@urbit/http-api",
|
2021-11-09 03:59:04 +03:00
|
|
|
"version": "2.1.0",
|
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",
|
|
|
|
"main": "dist/cjs/index.js",
|
|
|
|
"module": "dist/esm/index.js",
|
|
|
|
"jsdelivr": "dist/urbit-http-api.min.js",
|
|
|
|
"unpkg": "dist/urbit-http-api.min.js",
|
|
|
|
"types": "types/index.d.ts",
|
|
|
|
"file": [
|
|
|
|
"dist/**/*.js",
|
|
|
|
"types/*.d.ts"
|
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/cli": "^7.15.7",
|
|
|
|
"@babel/core": "^7.15.8",
|
|
|
|
"@babel/plugin-proposal-export-namespace-from": "^7.16.0",
|
|
|
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
|
|
"@babel/preset-env": "^7.15.8",
|
|
|
|
"@babel/preset-typescript": "^7.15.0",
|
|
|
|
"@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",
|
2021-11-09 03:43:22 +03:00
|
|
|
"babel-plugin-polyfill-corejs3": "^0.2.5",
|
2021-07-12 05:07:19 +03:00
|
|
|
"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-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 03:43:22 +03:00
|
|
|
"@rollup/plugin-typescript": "^8.3.0",
|
2021-01-27 08:45:18 +03:00
|
|
|
"browser-or-node": "^1.3.0",
|
2021-11-09 03:43:22 +03:00
|
|
|
"core-js-pure": "^3.18.3",
|
|
|
|
"rollup-plugin-typescript2": "^0.30.0"
|
2021-07-01 05:08:50 +03:00
|
|
|
}
|
2021-01-27 08:45:18 +03:00
|
|
|
}
|