61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
{
|
|
"name": "@lion/ajax",
|
|
"version": "1.2.1",
|
|
"description": "Thin wrapper around fetch with support for interceptors.",
|
|
"license": "MIT",
|
|
"author": "ing-bank",
|
|
"homepage": "https://github.com/ing-bank/lion/",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/ing-bank/lion.git",
|
|
"directory": "packages/ajax"
|
|
},
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist-types/src/index.d.ts",
|
|
"default": "./src/index.js"
|
|
},
|
|
"./docs/*": "./docs/*"
|
|
},
|
|
"main": "src/index.js",
|
|
"module": "src/index.js",
|
|
"files": [
|
|
"dist-types",
|
|
"docs",
|
|
"src",
|
|
"test"
|
|
],
|
|
"scripts": {
|
|
"debug": "cd ../../ && npm run debug -- --group ajax",
|
|
"debug:firefox": "cd ../../ && npm run debug:firefox -- --group ajax",
|
|
"debug:webkit": "cd ../../ && npm run debug:webkit -- --group ajax",
|
|
"publish-docs": "node ../../packages-node/publish-docs/src/cli.js --github-url https://github.com/ing-bank/lion/ --git-root-dir ../../ --copy-dir docs/fundamentals/tools/ajax/assets",
|
|
"prepublishOnly": "npm run types && npm run publish-docs",
|
|
"test": "cd ../../ && npm run test:browser -- --group ajax",
|
|
"types": "wireit"
|
|
},
|
|
"keywords": [
|
|
"ajax",
|
|
"fetch",
|
|
"http",
|
|
"lion"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"wireit": {
|
|
"types": {
|
|
"command": "tsc --build --pretty",
|
|
"files": [
|
|
"src/**/*.js",
|
|
"test/**/*.js",
|
|
"types/**",
|
|
"tsconfig.json"
|
|
],
|
|
"output": [
|
|
"dist-types/**"
|
|
]
|
|
}
|
|
}
|
|
}
|