mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 03:32:52 +00:00
feat: add api
This commit is contained in:
85
package.json
Normal file
85
package.json
Normal file
@@ -0,0 +1,85 @@
|
||||
{
|
||||
"name": "@openstapps/api",
|
||||
"version": "0.0.1",
|
||||
"scripts": {
|
||||
"build": "npm run tslint && npm run compile && npm run documentation",
|
||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
||||
"compile": "rm -rf lib/* && tsc && sed -i '1i#!/usr/bin/env node' lib/cli.js",
|
||||
"documentation": "typedoc --includeDeclarations --excludeExternals --mode modules --out docs src",
|
||||
"prepareOnly": "npm run build",
|
||||
"test": "nyc mocha --require ts-node/register --require source-map-support/register --ui mocha-typescript --recursive 'test/*.spec.ts'",
|
||||
"tslint": "tslint 'src/**/*.ts'"
|
||||
},
|
||||
"description": "Node.js library to interact with the StApps backend service",
|
||||
"dependencies": {
|
||||
"@openstapps/core": "0.0.2",
|
||||
"@openstapps/logger": "0.0.3",
|
||||
"@types/cli-progress": "1.8.0",
|
||||
"@types/node": "10.12.10",
|
||||
"@types/request": "2.48.1",
|
||||
"@types/uuid": "3.4.4",
|
||||
"async-pool-native": "0.1.0",
|
||||
"cli-progress": "2.1.0",
|
||||
"commander": "2.19.0",
|
||||
"moment": "2.22.2",
|
||||
"request": "2.88.0",
|
||||
"uuid": "3.3.2"
|
||||
},
|
||||
"license": "GPL-3.0-only",
|
||||
"devDependencies": {
|
||||
"@openstapps/configuration": "0.0.2",
|
||||
"@types/chai": "4.1.7",
|
||||
"@types/chai-as-promised": "7.1.0",
|
||||
"@types/chai-spies": "1.0.0",
|
||||
"@types/mocha": "5.2.5",
|
||||
"@types/nock": "9.3.0",
|
||||
"chai": "4.2.0",
|
||||
"chai-as-promised": "7.1.1",
|
||||
"chai-spies": "1.0.0",
|
||||
"conventional-changelog-cli": "2.0.11",
|
||||
"mocha": "5.2.0",
|
||||
"mocha-typescript": "1.1.17",
|
||||
"nock": "10.0.2",
|
||||
"nyc": "13.1.0",
|
||||
"source-map-support": "0.5.9",
|
||||
"ts-node": "7.0.1",
|
||||
"tslint": "5.11.0",
|
||||
"typedoc": "0.13.0",
|
||||
"typescript": "3.1.6"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@openstapps/core": "~0.0.2"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@gitlab.com:openstapps/api.git"
|
||||
},
|
||||
"bin": {
|
||||
"openstapps-api": "./lib/cli.js"
|
||||
},
|
||||
"main": "lib/client.js",
|
||||
"typings": "lib/index.d.ts",
|
||||
"nyc": {
|
||||
"check-coverage": true,
|
||||
"per-file": true,
|
||||
"lines": 95,
|
||||
"statements": 95,
|
||||
"functions": 95,
|
||||
"branches": 95,
|
||||
"include": [
|
||||
"src"
|
||||
],
|
||||
"exclude": [
|
||||
"src/cli.ts"
|
||||
],
|
||||
"extension": [
|
||||
".ts"
|
||||
],
|
||||
"reporter": [
|
||||
"html",
|
||||
"text-summary"
|
||||
],
|
||||
"sourceMap": true,
|
||||
"all": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user