aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-spec/package.json
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-08-30 02:15:30 +0800
committerGitHub <noreply@github.com>2018-08-30 02:15:30 +0800
commite7d5ceb9c5487a5851dbfc1f8bdbe0182fedaef2 (patch)
treed73fa81c94a066aafdd9871e3fdc9980ca6ea667 /packages/sra-spec/package.json
parentf44644ad9029148c43f69d666356ed9fb18de4e2 (diff)
downloaddexon-sol-tools-e7d5ceb9c5487a5851dbfc1f8bdbe0182fedaef2.tar
dexon-sol-tools-e7d5ceb9c5487a5851dbfc1f8bdbe0182fedaef2.tar.gz
dexon-sol-tools-e7d5ceb9c5487a5851dbfc1f8bdbe0182fedaef2.tar.bz2
dexon-sol-tools-e7d5ceb9c5487a5851dbfc1f8bdbe0182fedaef2.tar.lz
dexon-sol-tools-e7d5ceb9c5487a5851dbfc1f8bdbe0182fedaef2.tar.xz
dexon-sol-tools-e7d5ceb9c5487a5851dbfc1f8bdbe0182fedaef2.tar.zst
dexon-sol-tools-e7d5ceb9c5487a5851dbfc1f8bdbe0182fedaef2.zip
feat: Add support for TypeScript project references (#991)
* Update all package.json and tsconfig.json * fix(contracts): Make test/utils/web3_wrapper.ts compatible with project refs * Fix webpack config for 0x.js * Fix linter errors by adding rootDir to tsconfig.json as needed * Add build:ts and watch:ts commands to package.json * Update sra-spec to work with project references * Update tsconfig.json with latest new/removed packages * Add TypeScript as devDependency at root * Add missing rootDir to forwarder-helper package * Use a separate tsconfig file for typedoc * Fix linter errors * Apply PR feedback (add comments) * Fix 0x.js tsconfig
Diffstat (limited to 'packages/sra-spec/package.json')
-rw-r--r--packages/sra-spec/package.json12
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/sra-spec/package.json b/packages/sra-spec/package.json
index b560fa77b..f11b1bb5a 100644
--- a/packages/sra-spec/package.json
+++ b/packages/sra-spec/package.json
@@ -5,8 +5,8 @@
"node": ">=6.12"
},
"description": "Standard Relayer API Open API Spec",
- "main": "lib/index.js",
- "types": "lib/index.d.ts",
+ "main": "lib/src/index.js",
+ "types": "lib/src/index.d.ts",
"scripts": {
"serve": "redoc-cli serve lib/api.json --watch",
"watch_without_deps": "run-p build-json:watch serve",
@@ -17,10 +17,10 @@
"coverage:report:lcov": "nyc report --reporter=text-lcov > coverage/lcov.info",
"test:circleci": "yarn test:coverage",
"clean": "shx rm -rf lib",
- "build": "tsc && yarn copy_md_files && yarn build-json",
- "build-json": "ts-node build_scripts/buildJson.ts",
+ "build": "tsc -b && yarn copy_md_files && yarn build-json",
+ "build-json": "node ./lib/build_scripts/buildJson",
"build-json:watch": "chokidar 'src/**/*' -c 'yarn build-json' ",
- "copy_md_files": "copyfiles -u 2 './src/md/**/*.md' ./lib/md",
+ "copy_md_files": "copyfiles -u 2 './src/md/**/*.md' ./lib/src/md",
"deploy-site": "discharge deploy"
},
"repository": {
@@ -54,7 +54,7 @@
"swagger-cli": "^2.1.1",
"ts-node": "^7.0.0",
"tslint": "5.11.0",
- "typescript": "2.7.1"
+ "typescript": "3.0.1"
},
"publishConfig": {
"access": "public"