forked from sanity-io/client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
87 lines (87 loc) · 2.42 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
{
"name": "@sanity/client",
"version": "3.3.2",
"description": "Client for retrieving, creating and patching data from Sanity.io",
"main": "lib/sanityClient.js",
"umd": "umd/sanityClient.min.js",
"unpkg": "umd/sanityClient.min.js",
"types": "./sanityClient.d.ts",
"scripts": {
"browserify": "NODE_ENV=production BROWSERIFY_ENV=build DEBUG='' browserify -t envify -g uglifyify lib/sanityClient.js -o umd/sanityClient.js --standalone=SanityClient",
"compile": "babel -d lib src",
"build": "npm run compile && npm run browserify && npm run minify",
"lint": "eslint .",
"clean": "rimraf lib coverage .nyc_output umd/*.js",
"coverage": "DEBUG=sanity NODE_ENV=test nyc --reporter=html --reporter=lcov --reporter=text npm test",
"minify": "terser -c -m -- umd/sanityClient.js > umd/sanityClient.min.js",
"prepublishOnly": "npm run build",
"test": "NODE_ENV=test tape test/*.test.js",
"posttest": "npm run lint"
},
"browser": {
"./src/http/nodeMiddleware.js": "./src/http/browserMiddleware.js",
"./lib/http/nodeMiddleware.js": "./lib/http/browserMiddleware.js"
},
"engines": {
"node": ">=12"
},
"dependencies": {
"@sanity/eventsource": "^4.0.0",
"@sanity/generate-help-url": "^3.0.0",
"get-it": "^6.0.1",
"make-error": "^1.3.0",
"object-assign": "^4.1.1",
"rxjs": "^6.0.0"
},
"devDependencies": {
"@babel/cli": "^7.17.6",
"@babel/core": "^7.17.7",
"@babel/preset-env": "^7.11.5",
"browserify": "^17.0.0",
"envify": "^4.0.0",
"eslint": "^8.11.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-sanity": "^5.1.0",
"nock": "^13.2.4",
"nyc": "^15.1.0",
"prettier": "^2.6.0",
"rimraf": "^3.0.2",
"sse-channel": "^4.0.0",
"tape": "^5.5.2",
"terser": "^5.12.1",
"uglifyify": "^5.0.1",
"xtend": "4.0.2"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sanity-io/client.git"
},
"keywords": [
"sanity",
"cms",
"headless",
"realtime",
"content",
"client",
"fetch",
"api"
],
"author": "Sanity.io <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/sanity-io/client/issues"
},
"homepage": "https://www.sanity.io/",
"nyc": {
"include": [
"src/**/*.js"
],
"sourceMap": false
},
"prettier": {
"semi": false,
"printWidth": 100,
"bracketSpacing": false,
"singleQuote": true
}
}