Michael Bradley, Jr a9c5e1ade5 feat: add repository.directory field to package.json
See: https://github.com/npm/rfcs/blob/latest/implemented/0010-monorepo-subdirectory-declaration.md

Make changes by running this command in the root of the monorepo:

```shell
npx lerna exec --concurrency 1 --stream -- \
    'DIRPATH=$(realpath $PWD --relative-to=$LERNA_ROOT_PATH); \
    npx json -I -f package.json -e \
    "this.repository=\
        {\"directory\": \"$DIRPATH\", \
         \"type\": \"git\", \
         \"url\": \"https://github.com/embark-framework/embark.git\"}"'
```

Don't commit changes to private packages, with the exceptions of embark-typings
and embark-reset because those may switch from private to public, and also
because the latter will be included in `node_modules` of embark even if it is
private since embark-reset is presently a bundled dependency of embark.

Don't include the repository field in dapps generated from the template
packages, except for the demo.
2019-03-11 18:21:24 -04:00

38 lines
862 B
JSON

{
"name": "embark-dapp-template-boilerplate",
"version": "4.0.0-beta.0",
"description": "",
"files": [
"app",
"config",
"contracts",
"dot.gitignore",
"dot.npmrc",
"embark.json",
"test"
],
"scripts": {
"ci": "npm run qa",
"clean": "npm run reset",
"package": "npm pack",
"qa": "npm-run-all test package",
"reset": "npx embark-reset && npx rimraf embark-*.tgz package",
"test": "npx embark test"
},
"keywords": [],
"author": "",
"license": "MIT",
"repository": {
"directory": "dapps/templates/boilerplate",
"type": "git",
"url": "https://github.com/embark-framework/embark.git"
},
"devDependencies": {
"embark": "^4.0.0-beta.0",
"embark-reset": "^4.0.0-beta.0",
"embarkjs-connector-web3": "^4.0.0-beta.0",
"npm-run-all": "4.1.5",
"rimraf": "2.6.3"
}
}