1 | {
|
2 | "name": "@attic/noms",
|
3 | "license": "Apache-2.0",
|
4 | "version": "65.5.0",
|
5 | "description": "Noms JS SDK",
|
6 | "repository": "https://github.com/attic-labs/noms/tree/master/js/noms",
|
7 | "main": "dist/commonjs/noms.js",
|
8 | "engines": {
|
9 | "node": ">=6.9",
|
10 | "npm": ">=3"
|
11 | },
|
12 | "dependencies": {
|
13 | "asmcrypto.js-sha512": "^0.0.1",
|
14 | "babel-regenerator-runtime": "^6.5.0",
|
15 | "babel-runtime": "^6.11.6",
|
16 | "tingodb": "^0.4.2"
|
17 | },
|
18 | "devDependencies": {
|
19 | "babel-preset-noms": "1.0.1",
|
20 | "chai": "^3.5.0",
|
21 | "chokidar": "^1.6.0",
|
22 | "commander": "^2.9.0",
|
23 | "documentation": "4.0.0-beta12",
|
24 | "eslint-config-noms": "1.0.0",
|
25 | "flow-bin": "0.35.0",
|
26 | "fs-extra": "^0.30.0",
|
27 | "mocha": "^2.5.3",
|
28 | "mock-require": "^1.3.0",
|
29 | "nyc": "^8.3.0"
|
30 | },
|
31 | "scripts": {
|
32 | "lint": "eslint src/",
|
33 | "flow": "flow src/",
|
34 | "pretest": "npm run lint && npm run flow",
|
35 | "ts": "mocha --ui tdd --timeout=4000 --reporter dot --slow=50 --invert --grep='LONG:' --compilers js:babel-core/register src/*-test.js",
|
36 | "test-no-cov": "mocha --ui tdd --timeout=30000 --reporter dot --compilers js:babel-core/register src/*-test.js",
|
37 | "test": "nyc npm run test-no-cov && nyc report --reporter=text-lcov > coverage.lcov",
|
38 | "prepublish": "rm -rf dist/ && npm run compile && npm run copy-flow-files",
|
39 | "compile": "npm run compile-to-commonjs",
|
40 | "compile-to-commonjs": "BABEL_ENV=production babel -d dist/commonjs src/ > /dev/null",
|
41 | "copy-flow-files": "npm run copy-flow-files-commonjs",
|
42 | "copy-flow-files-commonjs": "node build/copy-flow-files.js -d dist/commonjs/ src/",
|
43 | "make-index-html": "node build/make-index-html.js",
|
44 | "build-docs": "documentation build --name Noms --project-version $npm_package_version --document-exported --infer-private ^_ --github --format html --sort-order alpha --output generated-docs/js/$npm_package_version/ src/noms.js && npm run make-index-html"
|
45 | },
|
46 | "browser": {
|
47 | "./src/bytes.js": "./src/browser/bytes.js",
|
48 | "./dist/commonjs/bytes.js": "./dist/commonjs/browser/bytes.js",
|
49 | "./src/fetch.js": "./src/browser/fetch.js",
|
50 | "./dist/commonjs/fetch.js": "./dist/commonjs/browser/fetch.js",
|
51 | "./src/put-cache.js": "./src/browser/put-cache.js",
|
52 | "./dist/commonjs/put-cache.js": "./dist/commonjs/browser/put-cache.js"
|
53 | }
|
54 | }
|