-
Notifications
You must be signed in to change notification settings - Fork 71
/
package.json
207 lines (207 loc) · 6.43 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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
{
"name": "kinto",
"version": "15.0.0",
"description": "An Offline-First JavaScript client for Kinto.",
"main": "lib/cjs/index.js",
"module": "lib/index.js",
"unpkg": "dist/kinto.min.js",
"types": "lib/index.d.ts",
"files": [
"/lib",
"/dist",
"!/dist/test-suite.{js,js.map}"
],
"scripts": {
"build": "npm run build:es && npm run build:cjs",
"build:es": "tsc -p . --outDir ./lib/ --declaration true",
"build:cjs": "tsc -p . --outDir lib/cjs --module commonjs --declaration false",
"build:test-browser": "rollup --environment BROWSER_TESTING -c",
"build-demo": "npm run dist && shx cp dist/kinto.min.js demo/kinto.min.js && shx cp dist/kinto.min.js.map demo/kinto.min.js.map",
"compute-sri": "version=$(npm view kinto version); printf \"| Filename %-14s | Hash %-66s |\\n\" \"\" \"(for version $version)\"; printf \"|-------------------------|-------------------------------------------------------------------------|\\n\"; cd dist; for file in kinto*.js; do printf \"| %-23s | %-71s |\\n\" ${file} $(echo -n 'sha384-' && curl --silent https://unpkg.com/kinto@$version/dist/${file} | openssl dgst -sha384 -binary | openssl enc -base64); done",
"cs-check": "prettier -l \"{src,test,bin}/**/*.{js,ts}\"",
"cs-format": "prettier \"{src,test,bin}/**/*.{js,ts}\" --write",
"demo": "npm run build-demo && http-server demo",
"dist": "npx cross-env NODE_ENV=production rollup -c && npm run dist:fx && npm run dist:fx:format",
"dist:dev": "npx rollup -c && npm run dist:fx",
"dist:fx": "npx ts-node --skip-project bin/dist-fx.ts",
"dist:fx:format": "npx prettier --config fx-src/.prettierrc.js dist/ --write",
"lint": "eslint \"src/**/*.{js,ts}\" \"test/**/*.{js,ts}\"",
"publish-demo": "npm run dist-prod && cp dist/kinto.js demo/kinto.js && gh-pages -d demo",
"publish-to-npm": "npm run dist && npm run build && npm publish",
"report-coverage": "npm run test-cover && ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info",
"test": "npm run test-nocover",
"test-cover": "intern",
"test-cover-html": "intern reporters=htmlcoverage && open-cli coverage/index.html",
"test-nocover": "intern coverage=false",
"test:chrome": "npm run build:test-browser && intern config=@chrome coverage=false",
"test:firefox": "npm run build:test-browser && intern config=@firefox coverage=false"
},
"repository": {
"type": "git",
"url": "https://github.com/Kinto/kinto.js.git"
},
"keywords": [
"offline",
"sync",
"api",
"rest",
"kinto",
"indexeddb"
],
"author": "Mozilla <[email protected]>",
"contributors": [
{
"name": "Michiel B. de Jong",
"url": "https://michielbdejong.com/"
},
{
"name": "Nicolas Perriault",
"url": "https://nicolas.perriault.net/"
},
{
"name": "Mathieu Leplatre",
"url": "http://mathieu-leplatre.info/"
},
{
"name": "Mark Goodwin",
"url": "https://www.computerist.org/"
},
{
"name": "Ethan Glasser-Camp",
"url": "http://betacantrips.com/"
},
{
"name": "Alexis Metaireau",
"url": "https://blog.notmyidea.org"
},
{
"name": "Remy Hubscher",
"url": "http://natim.ionyse.com"
},
{
"name": "Masataka Takeuchi",
"url": "https://github.com/happy-tanuki"
},
{
"name": "Peter deHaan",
"url": "https://about.me/peterdehaan"
},
{
"name": "Quentin Roy",
"url": "http://quentinroy.fr"
},
{
"name": "Fernando Jiménez Moreno",
"url": "http://ferjm.github.io"
},
{
"name": "Lavish Aggarwal",
"url": "http://lavishaggarwal.com/"
},
{
"name": "Mark Striemer ",
"url": "https://github.com/mstriemer"
},
{
"name": "Ipsha Bhidonia",
"url": "https://ipsha218.wordpress.com/"
},
{
"name": "Mathieu Agopian",
"url": "https://github.com/magopian"
},
{
"name": "Eric Le Lay",
"url": "https://github.com/elelay"
},
{
"name": "markellisdev",
"url": "https://github.com/markellisdev"
},
{
"name": "zakaluka",
"url": "https://github.com/zakaluka"
},
{
"name": "François de Metz",
"url": "https://github.com/francois2metz"
},
{
"name": "Amr Gawish",
"url": "https://github.com/agawish"
},
{
"name": "Matt Boris",
"url": "https://github.com/matt-boris"
}
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/Kinto/kinto.js/issues"
},
"config": {
"ISTANBUL_OPTS": "--report lcovonly --root ./src"
},
"homepage": "https://github.com/Kinto/kinto.js",
"engines": {
"node": ">=16"
},
"dependencies": {
"btoa": "^1.2.1",
"uuid": "^11.0.2"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.0",
"@rollup/plugin-multi-entry": "^6.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@rollup/plugin-replace": "^6.0.1",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^12.1.0",
"@types/btoa": "^1.2.3",
"@types/node-fetch": "^2.5.12",
"@types/shelljs": "^0.8.9",
"@types/sinon": "^17.0.3",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",
"atob": "^2.1.2",
"co-task": "^1.0.0",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"esdoc": "^1.1.0",
"esdoc-accessor-plugin": "^1.0.0",
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
"esdoc-importpath-plugin": "^1.0.2",
"esdoc-integrate-test-plugin": "^1.0.0",
"esdoc-publish-html-plugin": "^1.1.2",
"esdoc-type-inference-plugin": "^1.0.2",
"esdoc-undocumented-identifier-plugin": "^1.0.0",
"esdoc-unexported-identifier-plugin": "^1.0.0",
"eslint": "^8.3.0",
"eslint-config-prettier": "^9.0.0",
"estraverse-fb": "^1.3.2",
"fake-indexeddb": "^6.0.0",
"form-data": "^4.0.0",
"gh-pages": "^6.0.0",
"http-server": "^14.0.0",
"intern": "^4.10.0",
"kinto-node-test-server": "^2.0.0",
"mitt": "^3.0.0",
"node-fetch": "^2.6.6",
"nyc": "^17.0.0",
"open-cli": "^8.0.0",
"prettier": "^3.0.1",
"rollup": "^4.14.1",
"rollup-plugin-polyfill-node": "^0.13.0",
"shx": "^0.3.3",
"sinon": "^19.0.2",
"source-map-support": "^0.5.21",
"ts-node": "^10.4.0",
"tslib": "^2.3.1",
"typescript": "^5.0.3",
"uglifyify": "^5.0.2"
},
"overrides": {
"ts-node": "$ts-node"
}
}