mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-12 23:05:07 +00:00
df0064f1a9
`package.json` allows for a [`"files"` whitelist][files] to be specified as an alternative to a top-level `.npmignore` within a package root. Maintaining whitelists is generally easier and less error-prone than maintaining blacklists, so implement a `"files"` list for all non-private packages in the monorepo and remove unneeded `.npmignore` files. Switch `embark-reset` from being a private package to one that will be published, adjust the workspace's `"nohoist"` setting accordingly, and no longer specify `embark-reset` as a bundled dependency of `packages/embark`. I originally thought there might be a good reason not to publish it, but I no longer think so. Remove unnecessary LICENSE files in `packages/{embark,embark-ui}` since Lerna will automatically copy the root LICENSE into any packages lacking that file, i.e. before tarballs are packed and published to the NPM registry. Change the `"author"` field of `packages/embarkjs-connector-web3` to match the other packages, i.e. such that it matches the copyright assignment in the root LICENSE. If that's not a desirable thing to do, then instead that package can have a separate LICENSE file that has a copyright assignment for `"Jonathan Rainville"`. Supply some missing `.npmrc` files in `packages/*`. [files]: https://docs.npmjs.com/files/package.json#files
68 lines
1.8 KiB
JSON
68 lines
1.8 KiB
JSON
{
|
|
"name": "embark-vyper",
|
|
"version": "4.0.0-beta.0",
|
|
"author": "Iuri Matias <iuri.matias@gmail.com>",
|
|
"contributors": [],
|
|
"description": "Embark is a framework that allows you to easily develop and deploy DApps",
|
|
"homepage": "https://embark.status.im/",
|
|
"keywords": [
|
|
"blockchain",
|
|
"dapps",
|
|
"ethereum",
|
|
"ipfs",
|
|
"serverless",
|
|
"solc",
|
|
"solidity"
|
|
],
|
|
"license": "MIT",
|
|
"repository": {
|
|
"directory": "packages/embark-vyper",
|
|
"type": "git",
|
|
"url": "https://github.com/embark-framework/embark.git"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "cross-env BABEL_ENV=node babel src --extensions \".js,.ts\" --out-dir dist --root-mode upward --source-maps",
|
|
"ci": "npm run qa",
|
|
"clean": "npm run reset",
|
|
"lint": "npm-run-all lint:*",
|
|
"lint:js": "eslint src/",
|
|
"lint:ts": "tslint -c tslint.json \"src/**/*.ts\"",
|
|
"package": "npm pack",
|
|
"// qa": "npm-run-all lint typecheck build package",
|
|
"qa": "npm-run-all lint build package",
|
|
"reset": "npx rimraf dist embark-*.tgz package",
|
|
"start": "npm run watch",
|
|
"// typecheck": "tsc",
|
|
"watch": "run-p watch:*",
|
|
"watch:build": "npm run build -- --verbose --watch",
|
|
"// watch:typecheck": "npm run typecheck -- --preserveWatchOutput --watch"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "../../.eslintrc.json"
|
|
},
|
|
"dependencies": {
|
|
"@babel/runtime-corejs2": "7.3.1",
|
|
"embark-async-wrapper": "4.0.0-beta.0",
|
|
"shelljs": "0.5.3"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/cli": "7.2.3",
|
|
"@babel/core": "7.2.2",
|
|
"cross-env": "5.2.0",
|
|
"eslint": "5.7.0",
|
|
"npm-run-all": "4.1.5",
|
|
"rimraf": "2.6.3",
|
|
"tslint": "5.11.0",
|
|
"typescript": "3.3.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=8.12.0",
|
|
"npm": ">=6.4.1",
|
|
"yarn": ">=1.12.3"
|
|
}
|
|
}
|