aboutsummaryrefslogtreecommitdiffstats
path: root/packages/sra-spec/package.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/sra-spec/package.json')
-rw-r--r--packages/sra-spec/package.json10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/sra-spec/package.json b/packages/sra-spec/package.json
index 02cf1a54c..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": {