mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-10 13:55:45 +00:00
a519a5d527
Make the adjustment even if the test script is currently disabled. Consistently use nyc to generate coverage with mocha even if the test script is currently disabled.
83 lines
2.5 KiB
JSON
83 lines
2.5 KiB
JSON
{
|
|
"name": "embarkjs",
|
|
"version": "4.1.0-beta.1",
|
|
"author": "Iuri Matias <iuri.matias@gmail.com>",
|
|
"contributors": [],
|
|
"description": "JavaScript library for easily interacting with web3 technologies",
|
|
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/embarkjs#readme",
|
|
"bugs": "https://github.com/embark-framework/embark/issues",
|
|
"keywords": [
|
|
"blockchain",
|
|
"dapps",
|
|
"ethereum",
|
|
"ipfs",
|
|
"serverless",
|
|
"solc",
|
|
"solidity"
|
|
],
|
|
"license": "MIT",
|
|
"repository": {
|
|
"directory": "packages/embarkjs",
|
|
"type": "git",
|
|
"url": "https://github.com/embark-framework/embark.git"
|
|
},
|
|
"main": "dist/node/index.js",
|
|
"browser": {
|
|
"./dist/node/index.js": "./dist/browser/index.js"
|
|
},
|
|
"browserslist": [
|
|
"last 1 version",
|
|
"not dead",
|
|
"> 0.2%"
|
|
],
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "npm-run-all build:**",
|
|
"build:browser": "cross-env BABEL_ENV=browser babel src --extensions \".js\" --out-dir dist/browser --root-mode upward",
|
|
"build:node": "cross-env BABEL_ENV=node babel src --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
|
|
"build:node:async": "cross-env BABEL_ENV=node:async babel src/node --extensions \".js\" --out-dir dist --root-mode upward --source-maps",
|
|
"build:node:test": "cross-env BABEL_ENV=node:test babel test --extensions \".js\" --out-dir build-test --root-mode upward --source-maps",
|
|
"ci": "npm run qa",
|
|
"clean": "npm run reset",
|
|
"package": "npm pack",
|
|
"qa": "npm-run-all build test package",
|
|
"reset": "npx rimraf .nyc_output build-test coverage dist embarkjs-*.tgz package",
|
|
"start": "npm run watch",
|
|
"test": "nyc --reporter=html --reporter=json mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register",
|
|
"watch": "run-p \"build:** -- --verbose --watch\""
|
|
},
|
|
"nyc": {
|
|
"exclude": [
|
|
"**/node_modules/**",
|
|
"build-test/**",
|
|
"coverage/**"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime-corejs2": "7.3.1",
|
|
"async": "2.6.1",
|
|
"async-es": "2.6.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "7.2.3",
|
|
"@babel/core": "7.2.2",
|
|
"ajv": "6.5.2",
|
|
"chai": "4.2.0",
|
|
"cross-env": "5.2.0",
|
|
"lodash.clonedeep": "4.5.0",
|
|
"mocha": "5.2.0",
|
|
"npm-run-all": "4.1.5",
|
|
"nyc": "13.1.0",
|
|
"rimraf": "2.6.3",
|
|
"source-map-support": "0.5.9",
|
|
"web3": "1.0.0-beta.37"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.12.0",
|
|
"npm": ">=6.4.1",
|
|
"yarn": ">=1.12.3"
|
|
}
|
|
}
|