-
Notifications
You must be signed in to change notification settings - Fork 18
/
package.json
executable file
·111 lines (111 loc) · 3.63 KB
/
package.json
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
107
108
109
110
111
{
"name": "jsc8",
"version": "1.1.0",
"license": "Apache-2.0",
"description": "The official Macrometa JavaScript SDK.",
"homepage": "https://github.com/macrometacorp/jsC8",
"bugs": {
"url": "https://github.com/macrometacorp/jsC8/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/macrometacorp/jsC8.git"
},
"author": "Macrometa",
"keywords": [
"c8",
"sdk",
"c8db",
"c8ql",
"nosql",
"client",
"driver",
"api",
"http",
"rest"
],
"main": "lib/index.js",
"typings": "lib/cjs/jsC8.d.ts",
"browser": {
"./lib/index.js": "./lib/cjs/index.js",
"./lib/cjs/util/btoa.js": "./lib/cjs/util/btoa.web.js",
"./lib/cjs/util/bytelength.js": "./lib/cjs/util/bytelength.web.js",
"./lib/cjs/util/joinPath.js": "./lib/cjs/util/joinPath.web.js",
"./lib/cjs/util/multipart.js": "./lib/cjs/util/multipart.web.js",
"./lib/cjs/util/request.js": "./lib/cjs/util/request.web.js",
"./lib/cjs/util/webSocket.js": "./lib/cjs/util/webSocket.web.js",
"./lib/cjs/util/parseCsv.js": "./lib/cjs/util/parseCsv.web.js"
},
"files": [
"lib/*.*",
"lib/async/*.*",
"lib/async/util/*.*",
"lib/cjs/*.*",
"lib/cjs/util/*.*"
],
"scripts": {
"pretest": "npm run dist",
"test": "env TEST_C8_URL=https://test.eng1.macrometa.io mocha --timeout 60000 --growl --reporter mochawesome --require source-map-support/register lib/async/test",
"ci": "mocha --reporter spec --require source-map-support/register --timeout 10000 lib/cjs/test",
"preci": "yarn install",
"jenkins": "yarn ci -- --timeout 0 --reporter xunit-file",
"dist:cjs": "tsc -p . --outDir ./lib/cjs/ --declarationMap true && cpy src/index.js lib/cjs/ && cpy src/test/mockFiles lib/async/test/mockFiles",
"dist:async": "tsc -p . --outDir ./lib/async/ --target es2018 --declarationMap true && cpy src/index.js lib/async/ && cpy src/test/mockFiles lib/async/test/mockFiles",
"dist:web": "webpack",
"dist": "rimraf lib && npm-run-all --parallel dist:* && cpy src/index.all.js --rename index.js lib/",
"prepare": "npm run dist && node -e 'require(\".\");'",
"predevtest": "npm run dist",
"lint": "prettier --write .",
"devtest": "nyc --reporter=html mocha --reporter spec --timeout 60000 lib/async/test/"
},
"dependencies": {
"es6-error": "^4.1.1",
"jwt-decode": "^2.2.0",
"linkedlist": "^1.0.1",
"multi-part": "^2.0.0",
"papaparse": "^5.3.1",
"query-string": "^6.11.1",
"ws": "^6.1.0",
"xhr": "^2.4.1"
},
"devDependencies": {
"@types/chai": "^4.0.10",
"@types/mocha": "^5.2.7",
"@types/node": "^18.11.18",
"@types/papaparse": "^5.3.1",
"@types/request": "^2.47.1",
"@types/request-promise": "^4.1.42",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.3",
"babel-loader": "^7.1.2",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.7.0",
"chai": "^4.0.2",
"cpy-cli": "^2.0.0",
"dotenv": "^16.0.3",
"eslint": "^8.30.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-prettier": "^2.3.1",
"husky": "^8.0.2",
"mocha": "^10.2.0",
"mochawesome": "^7.1.3",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "2.8.3",
"pretty-quick": "^3.1.3",
"regenerator-runtime": "^0.11.1",
"rimraf": "^2.6.2",
"source-map-support": "^0.5.0",
"ts-loader": "^3.2.0",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.1.0",
"typescript": "^4.9.4",
"webpack": "^3.0.0",
"xunit-file": "^1.0.0",
"yarn": "^1.10.1"
},
"volta": {
"node": "14.20.0"
}
}