forked from fauna/faunadb-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
148 lines (148 loc) · 3.7 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
{
"name": "faunadb",
"version": "5.0.0-preview.1",
"apiVersion": "5",
"description": "FaunaDB Javascript driver for Node.JS and Browsers",
"homepage": "https://fauna.com",
"repository": "fauna/faunadb-js",
"license": "MPL-2.0",
"keywords": [
"database",
"fauna",
"official",
"driver"
],
"bugs": {
"url": "https://github.com/fauna/faunadb-js/issues"
},
"files": [
"index.d.ts",
"src/",
"dist/",
"cjs/",
"esm5/",
"query/",
"tools/printReleaseNotes.js"
],
"main": "./cjs/index.js",
"module": "./esm5/index.js",
"es2015": "./src/index.js",
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./esm5/index.js"
},
"./stream": {
"require": "./cjs/stream.js",
"import": "./esm5/stream.js"
},
"./query": {
"require": "./cjs/query/index.js",
"import": "./esm5/query/index.js"
},
"./query/": {
"require": "./cjs/query/",
"import": "./esm5/query/"
},
"./query/*": {
"require": "./cjs/query/*.js",
"import": "./esm5/query/*.js"
}
},
"scripts": {
"doc": "jsdoc -c ./jsdoc.json",
"prettify": "prettier --write \"{src,test}/**/*.{js,ts}\"",
"test": "jest --env=node --testTimeout 200000 --verbose=true --forceExit ./test",
"bundle:analyze": "webpack --env analyze",
"bundle:stats": "webpack --env analyze --env stats",
"bundle:diff": "node tools/bundleDiff.js",
"build:clean": "shx rm -rf ./dist ./cjs ./esm5 ./query",
"build:browser": "webpack",
"build:cjs": "cross-env BABEL_ENV=cjs npx babel src -d ./cjs",
"build:esm5": "cross-env BABEL_ENV=esm npx babel src -d ./esm5",
"build:package": "npm-run-all build:clean build:browser build:cjs build:esm5",
"postbuild:package": "node tools/postBuildPackage.js",
"posttest": "node ./test/afterComplete",
"semantic-release": "semantic-release",
"wp": "webpack",
"postinstall": "node ./tools/printReleaseNotes",
"postupdate": "node ./tools/printReleaseNotes",
"load-test": "node ./tools/loadTest"
},
"types": "index.d.ts",
"dependencies": {
"abort-controller": "^3.0.0",
"base64-js": "^1.2.0",
"boxen": "^5.0.1",
"btoa-lite": "^1.0.0",
"chalk": "^4.1.1",
"cross-fetch": "^3.0.6",
"dotenv": "^8.2.0",
"fn-annotate": "^1.1.3",
"object-assign": "^4.1.0",
"util-deprecate": "^1.0.2",
"core-js": "^3.9.1"
},
"devDependencies": {
"@actions/core": "^1.2.6",
"@actions/github": "^4.0.0",
"@babel/cli": "^7.13.10",
"@babel/core": "^7.13.10",
"@babel/preset-env": "^7.13.10",
"babel-loader": "^8.2.2",
"cross-env": "^7.0.3",
"eslint": "^5.3.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": ">=1",
"ink-docstrap": "^1.2.1",
"jest": "^26.6.3",
"jsdoc": "^3.6.3",
"lint-staged": ">=8",
"modify-source-webpack-plugin": "^1.1.0-beta.3",
"npm-run-all": "^4.1.5",
"prettier": "1.18.2",
"semantic-release": "^17.1.2",
"shx": "^0.3.3",
"terser": "^4.3.9",
"webpack": "^5.23.0",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-bundle-diff": "^1.0.0",
"webpack-cli": "^4.5.0",
"yargs": "^16.2.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,css,json,md}": [
"prettier --write",
"git add"
],
"*.js": [
"eslint --fix",
"git add"
]
},
"release": {
"branches": [
"main"
]
},
"browser": {
"http2": false,
"http": false,
"https": false,
"os": false,
"util": false,
"boxen": false,
"chalk": false
},
"jest": {
"transform": {
"^.+\\.js$": "babel-jest"
}
}
}