diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2018-07-06 14:11:15 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-07-06 01:57:32 -0400 |
commit | c1f430966a798e7f26228e3e3a372b0d3eb4a549 (patch) | |
tree | 3ba9c34268553dbfd6771cd80abf6bf8b74b3ec2 /js | |
parent | 31eda28a640f1052ef3ccf57704c3f564cf5061f (diff) |
chore: reorganize symlinks
resolves #332
Diffstat (limited to 'js')
l--------- | js/node_modules | 1 | ||||
-rw-r--r-- | js/package.json | 16 | ||||
-rwxr-xr-x | js/run_node.py | 5 |
3 files changed, 3 insertions, 19 deletions
diff --git a/js/node_modules b/js/node_modules deleted file mode 120000 index c46f1f34b..000000000 --- a/js/node_modules +++ /dev/null @@ -1 +0,0 @@ -../third_party/node_modules
\ No newline at end of file diff --git a/js/package.json b/js/package.json deleted file mode 100644 index e93ab1f1b..000000000 --- a/js/package.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "devDependencies": { - "@types/base64-js": "^1.2.5", - "@types/flatbuffers": "^1.9.0", - "@types/source-map-support": "^0.4.1", - "flatbuffers": "^1.9.0", - "parcel-bundler": "^1.8.1", - "tslint": "^5.10.0", - "tslint-eslint-rules": "^5.3.1", - "tslint-no-circular-imports": "^0.5.0", - "typescript": "^2.9.1" - }, - "browserslist": [ - "chrome 69" - ] -} diff --git a/js/run_node.py b/js/run_node.py index 506f2be4c..154c2167b 100755 --- a/js/run_node.py +++ b/js/run_node.py @@ -26,8 +26,9 @@ def symlink(target, name, target_is_dir=False): os.symlink(target, name) -js_path = os.path.dirname(os.path.realpath(__file__)) -target_abs = os.path.join(js_path, "node_modules") +root_path = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) +third_party_path = os.path.join(root_path, "third_party") +target_abs = os.path.join(third_party_path, "node_modules") target_rel = os.path.relpath(target_abs) if not os.path.exists("node_modules"): |