UNPKG

einstein-sdk

Version:

einstein sdk for javascript and typescript.

56 lines (55 loc) 1.65 kB
{ "name": "einstein-sdk", "version": "1.12.2", "description": "einstein sdk for javascript and typescript.", "main": "lib/index.js", "types": "lib/@types/index.d.ts", "keywords": [ "einstein", "sdk" ], "scripts": { "test": "npm run gen-parser && jest --coverage", "gen-parser": "npx jison src/parser/grammar.jison -o src/parser/parser.js", "build": "tsc", "types": "tsc -d --emitDeclarationOnly --allowJs false --declarationDir ./lib/@types", "prepublish": "npm run build && npm run types", "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\" \"tests/**/*.ts\"", "lint": "tslint -p tsconfig.json", "fix-tslint-errors": "tslint --fix \"src/**/*.ts\" \"tests/**/*.ts\"", "prepare": "npm run build && cp -a src/parser lib", "preversion": "npm run lint", "postversion": "git push && git push --tags" }, "pre-commit": [ "lint" ], "author": "Ethan Zhang", "license": "ISC", "homepage": "https://git.ringcentral.com/coding-now/einstein-sdk", "bugs": { "url": "https://git.ringcentral.com/coding-now/einstein-sdk/issues" }, "repository": { "type": "git", "url": "https://git.ringcentral.com/coding-now/einstein-sdk" }, "dependencies": { "@types/node": "^12.6.2", "axios": "^0.18.0", "lodash": "^4.17.11", "moment": "^2.24.0", "qs": "^6.5.2" }, "devDependencies": { "@types/jest": "^23.3.14", "jest": "^23.6.0", "jison": "^0.4.18", "pre-commit": "^1.2.2", "prettier": "^1.14.2", "ts-jest": "^23.10.5", "tslint": "^5.11.0", "tslint-config-prettier": "^1.15.0", "typescript": "^3.0.3" } }