{
    "name": "@iota-pico/pow-wasm",
    "version": "1.0.0",
    "description": "IOTA Pico Framework Proof Of Work WebAssembly",
    "typings": "dist/index.d.ts",
    "main": "pkg/iota-pico-pow-wasm.js",
    "module": "dist/index.js",
    "keywords": [
        "iota",
        "pico",
        "interface",
        "tangle",
        "javascript",
        "typescript",
        "API"
    ],
    "directories": {
        "doc": "docs",
        "test": "test"
    },
    "author": "martyn@iota.eco",
    "license": "MIT",
    "repository": {
        "type": "git",
        "url": "https://github.com/iota-pico/pow-wasm.git"
    },
    "engines": {
        "node": ">=8"
    },
    "scripts": {
        "build-clean": "rimraf ./dist/*",
        "build-compile": "tsc",
        "build-lint": "tslint -p ./tsconfig.json -c ./tslint.json -t verbose",
        "build": "npm-run-all build-clean build-compile build-lint",
        "test-clean": "rimraf ./coverage/*",
        "test-lint": "tslint -p ./test/tsconfig.json -c ./tslint.json -t verbose",
        "test-run": "nyc mocha",
        "test-post": "replace-in-file \"/(istanbul<\\/a>) at.*/g\" \"$1\" coverage/**/*.html --isRegex",
        "test": "npm-run-all test-clean test-lint test-run test-post",
        "test-publish": "minicat ./coverage/lcov.info | coveralls",
        "docs-clean": "rimraf ./docs/*",
        "docs-generate": "typedoc --module commonjs --excludePrivate --theme markdown --readme none --hideGenerator --mode file --target es6 --exclude ./**/src/index.ts --out ./docs ./src",
        "docs-post": "replace-in-file \"/(Defined in \\[.*\\]\\(https:\\/\\/github.com\\/.*?\\/.*?\\/).*?\\/.*?\\/(.*)\\)/g\" \"$1tree/master/$2\" docs/**/*.md --isRegex",
        "docs": "npm-run-all docs-clean docs-generate docs-post",
        "pkg-clean": "rimraf ./pkg ./dist.es6",
        "pkg-compile": "tsc --outDir ./dist.es6 --target es6 --importHelpers",
        "pkg-dev": "cross-env NODE_ENV=development webpack --progress",
        "pkg-prod": "cross-env NODE_ENV=production webpack --progress",
        "pkg-finalise": "rimraf ./dist.es6",
        "pkg": "npm-run-all pkg-clean pkg-compile pkg-dev pkg-prod pkg-finalise",
        "dist": "npm-run-all build test pkg docs",
        "wasm-clean": "rimraf ./wasm/*",
        "wasm-build": "emcc src-c/ccurl.c src-c/curl.c src-c/pearl_diver.c src-c/util/converter.c -o wasm/iota-pico-pow-wasm.js -s USE_PTHREADS=0 -s MODULARIZE=1 -s WASM=1 -s SINGLE_FILE=1 -s \"EXPORTED_FUNCTIONS=['_ccurl_pow']\" -s \"EXTRA_EXPORTED_RUNTIME_METHODS=['ccall', 'cwrap']\"",
        "wasm": "npm-run-all wasm-clean wasm-build",
        "wasm-docker": "docker exec -it emscripten emcc src-c/ccurl.c src-c/curl.c src-c/pearl_diver.c src-c/util/converter.c -o wasm/iota-pico-pow-wasm.js -s USE_PTHREADS=0 -s MODULARIZE=1 -s WASM=1 -s SINGLE_FILE=1 -s EXPORTED_FUNCTIONS='[\"_ccurl_pow\"]' -s EXTRA_EXPORTED_RUNTIME_METHODS='[\"ccall\", \"cwrap\"]'"
    },
    "dependencies": {
        "@iota-pico/core": "^1.0.0",
        "@iota-pico/crypto": "^1.0.0",
        "@iota-pico/data": "^1.0.0"
    },
    "devDependencies": {
        "@types/chai": "^4.1.4",
        "@types/emscripten": "^0.0.31",
        "@types/mocha": "^5.2.5",
        "chai": "^4.1.2",
        "coveralls": "^3.0.2",
        "cross-env": "^5.2.0",
        "minicat": "^1.0.0",
        "mocha": "^5.1.1",
        "npm-run-all": "^4.1.3",
        "nyc": "^13.0.1",
        "replace-in-file": "^3.4.0",
        "rimraf": "^2.6.2",
        "source-map-support": "^0.5.6",
        "ts-node": "^7.0.0",
        "tslint": "^5.11.0",
        "tslint-eslint-rules": "^5.3.1",
        "tslint-microsoft-contrib": "^5.1.0",
        "typedoc": "^0.12.0",
        "typedoc-plugin-markdown": "^1.1.10",
        "typescript": "^3.0.3",
        "uglifyjs-webpack-plugin": "^1.2.7",
        "webpack": "^4.16.3",
        "webpack-cli": "^3.1.0"
    }
}
