mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-12 14:54:57 +00:00
376b6cacd6
Relative `"include"` path/s in a `tsconfig.json` are relative to the directory in which the config is located, so each monorepo package that uses typescript needs its own `tsconfig.json` that `"extends"` the root config. For now, disable the `"typecheck"` script in embark-graph and embark-vyper, but leave the relevant pieces in place (devDeps, configs) so that when they're converted to TypeScript the scripts can simply be re-enabled. The problem is that if no `.ts` files are present in the path/s specified in `"include"` of `tsconfig.json`, tsc will exit with error.
64 lines
1.7 KiB
JSON
64 lines
1.7 KiB
JSON
{
|
|
"name": "embark-graph",
|
|
"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"
|
|
],
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"license": "MIT",
|
|
"repository": "github:embark-framework/embark",
|
|
"main": "./dist/index.js",
|
|
"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": "npx rimraf dist embark-*.tgz package",
|
|
"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": "npm run clean && npx rimraf node_modules",
|
|
"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": {
|
|
"async": "2.6.1",
|
|
"viz.js": "1.8.2",
|
|
"@babel/runtime-corejs2": "7.3.1"
|
|
},
|
|
"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"
|
|
}
|
|
}
|