From 810ccddb4477056a361464d457d32cdcc519b097 Mon Sep 17 00:00:00 2001 From: Chris Wendt Date: Tue, 26 Mar 2019 19:19:45 -0700 Subject: [PATCH] Symlink package.json --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 460636a..43b098f 100644 --- a/package.json +++ b/package.json @@ -94,11 +94,11 @@ "typecheck": "tsc -p tsconfig.json", "build": "parcel build --out-file dist/lang-go.js src/lang-go.ts", "symlink-package": "mkdirp dist && lnfs ./package.json ./dist/package.json", - "serve": "parcel serve --no-hmr --out-file dist/lang-go.js src/lang-go.ts", + "serve": "yarn run symlink-package && parcel serve --no-hmr --out-file dist/lang-go.js src/lang-go.ts", "watch:typecheck": "tsc -p tsconfig.json -w", "watch:build": "tsc -p tsconfig.dist.json -w", "prettier": "prettier --list-different --write \"src/**/*.ts\"", - "prettier-check": "npm run prettier -- --write=false", + "prettier-check": "yarn run prettier -- --write=false", "sourcegraph:prepublish": "yarn run build" }, "browserslist": [