package.json 2.14 KB
Newer Older
Puria Nafisi Azizi's avatar
Puria Nafisi Azizi committed
1
2
{
  "name": "zenroom",
Puria Nafisi Azizi's avatar
Puria Nafisi Azizi committed
3
  "version": "1.0.0-alpha.0",
Puria Nafisi Azizi's avatar
Puria Nafisi Azizi committed
4
5
  "description": "wrapper of Zenroom, a secure and small virtual machine for crypto language processing",
  "main": "index.js",
Puria Nafisi Azizi's avatar
Puria Nafisi Azizi committed
6
  "repository": "https://github.com/DECODEproject/Zenroom.git",
Puria Nafisi Azizi's avatar
Puria Nafisi Azizi committed
7
8
9
10
  "author": "Puria Nafisi Azizi <puria@dyne.org>",
  "license": "AGPL-3.0",
  "scripts": {
    "lint": "npx standard",
11
    "build": "cd ../.. && make javascript-wasm",
12
    "clean": "rimraf dist/lib && cd ../.. && make clean",
Puria Nafisi Azizi's avatar
Puria Nafisi Azizi committed
13
    "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
14
15
    "pretranspile": "mkdirp dist/lib && cp -v ../../build/wasm/z* dist/lib",
    "transpile": "npx babel src -d dist",
Puria Nafisi Azizi's avatar
Puria Nafisi Azizi committed
16
17
18
19
20
21
22
23
24
25
26
    "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": {
27
28
    "@babel/cli": "^7.6.4",
    "@babel/core": "^7.6.4",
Puria Nafisi Azizi's avatar
Puria Nafisi Azizi committed
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
    "@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": {
49
    "@babel/node": "^7.6.3",
Puria Nafisi Azizi's avatar
Puria Nafisi Azizi committed
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
    "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"
    ]
  }
}