UNPKG

1.64 kBJSONView Raw
1{
2 "name": "@randomorg/core",
3 "version": "1.0.3",
4 "description": "The official library to access the RANDOM.ORG JSON-RPC API",
5 "main": "./lib/index.js",
6 "module": "./lib/esm/index.js",
7 "scripts": {
8 "test": "mocha ./test/test.js --timeout 9000",
9 "test-coverage": "nyc --reporter=text mocha ./test/test.js --timeout 9000",
10 "build": "npm run build-ts && npm run build-browser && npm run build-test",
11 "build-ts": "tsc",
12 "build-browser": "rollup --config --mode='browser' && rollup --config --mode='browser' --minify",
13 "build-test": "rollup --config --mode='test'"
14 },
15 "author": "RANDOM.ORG <contact@random.org> (https://www.random.org/)",
16 "repository": {
17 "type": "git",
18 "url": "git://github.com/RandomOrg/JSON-RPC-JavaScript.git"
19 },
20 "license": "MIT",
21 "dependencies": {
22 "xmlhttprequest": "^1.8.0"
23 },
24 "devDependencies": {
25 "@rollup/plugin-commonjs": "^19.0.2",
26 "@rollup/plugin-node-resolve": "^13.0.4",
27 "@types/node": "^16.7.2",
28 "chai": "^4.3.4",
29 "esm": "^3.2.25",
30 "mocha": "^9.1.3",
31 "nyc": "^15.1.0",
32 "rollup": "^2.56.3",
33 "rollup-plugin-ignore": "^1.0.9",
34 "rollup-plugin-strip-code": "^0.2.7",
35 "rollup-plugin-terser": "^7.0.2",
36 "typescript": "^4.3.5"
37 },
38 "types": "./types/index.d.ts",
39 "typings": "./types/index.d.ts",
40 "exports": {
41 "require": "./lib/index.js",
42 "import": "./lib/esm/index.js"
43 },
44 "unpkg": "./lib/bundles/rdocore.iife.min.js",
45 "keywords": [
46 "RANDOM.ORG",
47 "random",
48 "randomness",
49 "basic",
50 "signed",
51 "core",
52 "api"
53 ]
54}