UNPKG

2.36 kBJSONView Raw
1{
2 "name": "craft-ai",
3 "version": "1.17.0",
4 "description": "craft ai API isomorphic (compatible with browser and nodejs) javascript client",
5 "author": {
6 "name": "craft ai",
7 "email": "contact@craft.ai",
8 "url": "http://craft.ai/"
9 },
10 "homepage": "https://github.com/craft-ai/craft-ai-client-js",
11 "license": "BSD-3-Clause",
12 "bugs": {
13 "url": "https://github.com/craft-ai/craft-ai-client-js/issues"
14 },
15 "main": "lib/index.js",
16 "typings": "src/index.d.ts",
17 "repository": {
18 "type": "git",
19 "url": "https://github.com/craft-ai/craft-ai-client-js"
20 },
21 "browser": {
22 "lodash": "lodash/lodash.min.js",
23 "https-proxy-agent": false,
24 "http-proxy-agent": false
25 },
26 "keywords": [
27 "ai",
28 "craft-ai"
29 ],
30 "scripts": {
31 "update_readme": "download https://www.craft.ai/content/api/js.md > README.md && git add README.md && git commit -m 'Updated README file'",
32 "build": "babel src --out-dir lib",
33 "build_browser": "npm run build_browser:production && npm run build_browser:dev",
34 "build_browser:production": "cross-env NODE_ENV=production webpack",
35 "build_browser:dev": "cross-env NODE_ENV=development webpack",
36 "lint": "eslint . && tsc src/index.d.ts",
37 "fix_lint": "eslint --fix .",
38 "test": "npm run test_node && npm run lint",
39 "test_node": "mocha",
40 "dev_browser": "cd test/browser && webpack-dev-server",
41 "prepublish": "npm run build && npm run build_browser"
42 },
43 "devDependencies": {
44 "babel-cli": "6.26.0",
45 "babel-core": "6.26.3",
46 "babel-eslint": "10.0.1",
47 "babel-loader": "7.1.5",
48 "babel-polyfill": "6.26.0",
49 "babel-preset-env": "1.7.0",
50 "babel-register": "6.26.0",
51 "chai": "4.1.2",
52 "cross-env": "5.2.0",
53 "dotenv": "5.0.0",
54 "download-cli": "1.1.1",
55 "eslint": "5.9.0",
56 "eslint-config-craft-ai": "3.0.2",
57 "mocha": "^5.2.0",
58 "mocha-loader": "1.1.3",
59 "moment-timezone": "0.5.21",
60 "typescript": "2.8.1",
61 "webpack": "2.4.1",
62 "webpack-dev-server": "2.4.2"
63 },
64 "dependencies": {
65 "debug": "3.1.0",
66 "http-proxy-agent": "2.1.0",
67 "https-proxy-agent": "2.2.1",
68 "inherits": "2.0.3",
69 "jwt-decode": "2.2.0",
70 "lodash": "4.17.10",
71 "moment": "2.22.2",
72 "node-fetch": "2.2.0",
73 "semver": "5.5.0",
74 "whatwg-fetch": "2.0.4"
75 },
76 "engines": {
77 "node": ">=0.12"
78 }
79}