package.json 2.13 KB
Newer Older
Puria Nafisi Azizi's avatar
Puria Nafisi Azizi committed
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
{
  "name": "zenroom",
  "version": "0.9.5",
  "description": "wrapper of Zenroom, a secure and small virtual machine for crypto language processing",
  "main": "index.js",
  "repository": "https://github.com/puria/zenroomjs.git",
  "author": "Puria Nafisi Azizi <puria@dyne.org>",
  "license": "AGPL-3.0",
  "scripts": {
    "lint": "npx standard",
    "build": "cd ../../zenroom && make javascript-npm",
    "clean": "rimraf dist/lib && cd ../../zenroom && make clean",
    "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
    "pretranspile": "yarn build && mkdirp dist/lib && cp -v ../../zenroom/build/npm/z* dist/lib",
    "transpile": "babel src -d dist",
    "test": "node index.js && nyc --require @babel/register mocha",
    "test:html": "nyc report --reporter=html yarn test",
    "test:watch": "yarn test --watch",
    "doc": "documentation serve src/wrapper.js --shallow",
    "doc:api": "documentation readme src/wrapper.js -s ':honeybee: API' --shallow --markdown-toc false",
    "release": "release-it"
  },
  "files": [
    "dist"
  ],
  "devDependencies": {
    "@babel/cli": "^7.2.0",
    "@babel/core": "^7.2.0",
    "@babel/preset-env": "^7.2.0",
    "@babel/preset-react": "^7.0.0",
    "@babel/register": "^7.0.0",
    "babel-plugin-istanbul": "^5.1.0",
    "babelify": "^10.0.0",
    "chai": "^4.2.0",
    "codecov": "^3.1.0",
    "documentation": "^8.1.2",
    "eslint": "^5.9.0",
    "eslint-config-airbnb-base": "^13.1.0",
    "eslint-plugin-import": "^2.14.0",
    "mkdirp": "^0.5.1",
    "mocha": "^5.2.0",
    "nyc": "^13.1.0",
    "release-it": "^8.3.0",
    "rimraf": "^2.6.2",
    "sinon": "^7.1.1",
    "standard": "^12.0.1"
  },
  "dependencies": {
    "core-js": "^3.1.4",
    "regenerator-runtime": "*"
  },
  "standard": {
    "ignore": [
      "dist",
      "zenroom",
      "test"
    ]
  },
  "nyc": {
    "extends": "@istanbuljs/nyc-config-babel",
    "check-coverage": true,
    "per-file": true,
    "lines": 99,
    "statements": 98,
    "functions": 99,
    "branches": 99,
    "cache": true,
    "all": true,
    "include": [
      "src/**/*.js"
    ],
    "exclude": [
      "dist",
      "zenroom"
    ]
  }
}