shrub/pkg/npm/http-api/package.json

71 lines
2.0 KiB
JSON
Raw Normal View History

2021-01-27 08:45:18 +03:00
{
"name": "@urbit/http-api",
"version": "2.1.3",
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"
},
"type": "module",
"main": "dist/cjs/index.cjs",
"module": "dist/esm/index.js",
"exports": {
"require": "./dist/cjs/index.cjs",
"import": "./dist/esm/index.js"
},
"jsdelivr": "dist/urbit-http-api.min.js",
"unpkg": "dist/urbit-http-api.min.js",
"types": "dist/index.d.ts",
"files": [
"dist/**"
2021-01-27 08:45:18 +03:00
],
"scripts": {
2021-07-12 05:07:19 +03:00
"test": "jest",
"build": "npm run clean && rollup -c && npx tsc -p tsconfig.json",
2021-07-01 06:28:25 +03:00
"prepare": "npm run build",
"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": {
"@babel/core": "^7.15.8",
"@babel/preset-env": "^7.15.8",
"@babel/preset-typescript": "^7.16.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",
"cross-fetch": "^3.1.4",
"event-target-polyfill": "0.0.3",
"fast-text-encoding": "^1.0.3",
"jest": "^27.0.6",
"rollup": "^2.59.0",
"rollup-plugin-terser": "^7.0.2",
"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",
"browser-or-node": "^1.3.0",
"core-js": "^3.19.1"
}
2021-01-27 08:45:18 +03:00
}