forked from Alxmerino/directus-sdk-javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 3.5 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
{
"name": "@directus/sdk-js",
"version": "6.1.1",
"description": "Directus SDK for JavaScript (Node and Browser)",
"keywords": [
"api",
"client",
"cms",
"directus",
"headless",
"javascript",
"node",
"sdk"
],
"homepage": "https://docs.directus.io/sdk/js.html",
"bugs": {
"url": "https://github.com/directus/directus-sdk-js/issues"
},
"repository": "directus/sdk-js",
"license": "MIT",
"author": "RANGER Studio LLC",
"contributors": [
"Rijk van Zanten <[email protected]>",
"Jan Biasi <[email protected]>"
],
"files": [
"dist",
"src"
],
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"browser": "dist/umd/directus-sdk.min.js",
"types": "dist/types/index.d.ts",
"scripts": {
"prebuild": "rimraf dist",
"build": "run-s build:*",
"build:declaration": "tsc --project tsconfig.meta.json",
"build:es2015": "tsc --project tsconfig.json --module es2015 --target es2015 --outDir dist/es2015",
"build:esm": "tsc --project tsconfig.json --module es2015 --target es5 --outDir dist/esm",
"build:cjs": "tsc --project tsconfig.json --module commonjs --target es5 --outDir dist/cjs",
"build:umd": "rollup dist/esm/index.js --format umd --name DirectusSDK --sourcemap --file dist/umd/directus-sdk.js --globals window:window,axios:axios,base-64:base64 --exports named --external axios,base-64",
"build:umd-min": "uglifyjs --output dist/umd/directus-sdk.min.js --mangle --compress --source-map --source-map-url -- dist/umd/directus-sdk.js",
"size-limit": "size-limit",
"size-limit:stats": "size-limit --why",
"lint": "run-s lint:*",
"lint:source": "eslint ./src/**/*.ts -c ./.eslintrc.js",
"lint:test": "eslint ./test/**/*.ts -c ./.eslintrc.test.js",
"prettier": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\" \"**/*.json\"",
"test": "ts-mocha -p ./tsconfig.test.json \"test/**/*.spec.ts\" --recursive --exit",
"coverage": "nyc mocha -r ts-node/register -r source-map-support/register -p ./tsconfig.test.json \"test/**/*.spec.ts\" --recursive && nyc report",
"release": "npm version -m \":rocket: Release %s\""
},
"dependencies": {
"axios": "0.19.0",
"base-64": "0.1.0"
},
"devDependencies": {
"@types/base-64": "0.1.3",
"@types/chai": "4.1.7",
"@types/chai-datetime": "0.0.32",
"@types/expect": "1.20.4",
"@types/jsonwebtoken": "8.3.7",
"@types/mocha": "5.2.7",
"@types/node": "12.6.2",
"@types/sinon": "7.0.13",
"@types/sinon-chai": "3.2.2",
"@typescript-eslint/eslint-plugin": "1.11.0",
"@typescript-eslint/parser": "1.11.0",
"chai": "4.2.0",
"chai-datetime": "1.5.0",
"chalk": "2.4.2",
"coveralls": "3.0.4",
"eslint": "6.0.1",
"eslint-plugin-jest": "22.7.2",
"jsonwebtoken": "8.5.1",
"mocha": "6.1.4",
"npm-run-all": "4.1.5",
"nyc": "14.1.1",
"prettier": "1.18.2",
"rimraf": "2.6.3",
"rollup": "1.17.0",
"sinon": "7.3.2",
"sinon-chai": "3.3.0",
"size-limit": "1.3.7",
"source-map-support": "0.5.12",
"ts-loader": "6.0.4",
"ts-mocha": "6.0.0",
"tslib": "1.10.0",
"typescript": "3.5.3",
"uglify-js": "3.6.0"
},
"engines": {
"node": ">=10.0.0"
},
"size-limit": [
{
"limit": "12 KB",
"path": "dist/umd/directus-sdk.min.js"
},
{
"limit": "13 KB",
"path": "dist/cjs/index.js"
},
{
"limit": "12 KB",
"path": "dist/es2015/index.js"
},
{
"limit": "12 KB",
"path": "dist/esm/index.js"
}
]
}