mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-10 05:46:03 +00:00
d5c984c592
If a package uses only `.js` then supply `--extensions ".js"`. If a package uses only `.ts` then supply `--extensions ".ts"`. If a package uses both, then supply `--extensions ".js,.ts"`. The reason for this is that adding/removing TS/JS support ought to occasion revising a package's `package.json` file and adjusting other scripts as well, e.g. for linting. With these changes, it won't work to simply start adding `.ts` files in a package's `src/` directory, which should prompt the developer to review `package.json` and make the appropriate changes, and/or other developers may realize changes need to be made during code review.
75 lines
2.3 KiB
JSON
75 lines
2.3 KiB
JSON
{
|
|
"name": "embarkjs-whisper",
|
|
"version": "4.1.0-beta.0",
|
|
"author": "Iuri Matias <iuri.matias@gmail.com>",
|
|
"contributors": [],
|
|
"description": "Whisper plugin for embarkjs",
|
|
"homepage": "https://github.com/embark-framework/embark/tree/master/packages/embarkjs-whisper#readme",
|
|
"bugs": "https://github.com/embark-framework/embark/issues",
|
|
"keywords": [
|
|
"blockchain",
|
|
"dapps",
|
|
"ethereum",
|
|
"ipfs",
|
|
"serverless",
|
|
"solc",
|
|
"solidity"
|
|
],
|
|
"license": "MIT",
|
|
"repository": {
|
|
"directory": "packages/embarkjs-whisper",
|
|
"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",
|
|
"qa": "npm-run-all build package",
|
|
"reset": "npx rimraf build-test dist embarkjs-*.tgz package",
|
|
"start": "npm run watch",
|
|
"// test": "mocha \"build-test/**/*.js\" --exit --no-timeouts --require source-map-support/register",
|
|
"watch": "run-p \"build:** -- --verbose --watch\""
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime-corejs2": "7.3.1",
|
|
"rxjs": "6.4.0",
|
|
"web3": "1.0.0-beta.37"
|
|
},
|
|
"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",
|
|
"rimraf": "2.6.3",
|
|
"source-map-support": "0.5.9"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.12.0",
|
|
"npm": ">=6.4.1",
|
|
"yarn": ">=1.12.3"
|
|
}
|
|
}
|