-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 3.21 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 3.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "@evolv/client",
"version": "2.12.0",
"description": "The official JavaScript client for the Evolv AI optimization platform.",
"license": "Apache-2.0",
"type": "module",
"main": "dist/browser/index.cjs",
"module": "dist/browser/index.mjs",
"types": "dist/types.d.ts",
"exports": {
"types": "./dist/types.d.ts",
"node": "./dist/node/index.mjs",
"import": "./dist/browser/index.mjs",
"require": "./dist/browser/index.cjs"
},
"homepage": "https://www.evolv.ai",
"bugs": {
"url": "https://github.com/evolv-ai/javascript-sdk/issues",
"email": "support@evolv.ai"
},
"files": [
"dist/**/*"
],
"directories": {
"doc": "./dist/docs"
},
"repository": {
"type": "git",
"url": "https://github.com/evolv-ai/javascript-sdk"
},
"engines": {
"node": ">=13"
},
"scripts": {
"lint": "eslint src",
"test": "mocha --experimental-modules --exit",
"coverage": "npx nyc mocha --experimental-loader=@istanbuljs/esm-loader-hook npm run test",
"test:debug": "mocha debug --experimental-modules",
"clean": "del dist",
"prebuild": "npm run clean",
"build": "rollup --config rollup.config.js",
"postbuild": "npm run docs",
"prewatch": "npm run clean",
"watch": "rollup --config rollup.config.js --watch",
"prepack": "npm run build",
"docs": "jsdoc -c jsdocs.config.json src/index.js src/context.js src/docs/README.md",
"staging:release": "npm run deploy:version:s3 && npm run deploy:next:s3 && npm run deploy:next:npm",
"release": "npm run deploy:version:s3 && npm run deploy:latest:s3 && npm run deploy:latest:npm",
"deploy:next:s3": "sh scripts/upload-scripts.sh -c next -d $CF_DISTRIBUTION_ID",
"deploy:version:s3": "sh scripts/upload-scripts.sh -c $SEM_VER -d $CF_DISTRIBUTION_ID",
"deploy:latest:s3": "sh scripts/upload-scripts.sh -c latest -d $CF_DISTRIBUTION_ID",
"deploy:next:npm": "npm version $SEM_VER --no-git-tag-version && npm publish --tag next --access public",
"deploy:latest:npm": "npm version $SEM_VER --no-git-tag-version && npm publish --access public"
},
"author": {
"name": "Evolv Technology Solutions, Inc.",
"email": "support@evolv.ai"
},
"peerDependencies": {
"@evolv/hashing": "^1.1.0",
"base64-arraybuffer": ">=0.2.0",
"deepmerge": "^4.2.2"
},
"devDependencies": {
"@istanbuljs/esm-loader-hook": "^0.1.2",
"@peculiar/webcrypto": "^1.4.0",
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^13.3.0",
"chai": "^4.2.0",
"chai-spies": "^1.0.0",
"del-cli": "^5.0.0",
"eslint": "^8.1.0",
"eslint-plugin-es": "^4.1.0",
"jsdoc": "^3.6.10",
"mocha": "^10.1.0",
"nyc": "^15.1.0",
"outdent": "^0.8.0",
"rollup": "^2.78.1",
"rollup-plugin-copy": "^3.4.0",
"sinon": "^15.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.7.4",
"xhr-mock": "^2.5.1",
"xmlhttprequest": "^1.8.0"
},
"mocha": {
"extension": [
"js"
],
"spec": "src/**/*.test.js",
"recursive": true
},
"nyc": {
"all": true,
"include": [
"src/**/*.js"
],
"exclude": [
"**/*.test.js"
]
},
"dependencies": {
"yui-lint": "^0.2.0"
}
}