]> git.saurik.com Git - logizomai.git/commitdiff
Do not require the user to have JSON5 (npm sucks).
authorJay Freeman (saurik) <saurik@saurik.com>
Sat, 28 Oct 2017 05:21:56 +0000 (22:21 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Sat, 28 Oct 2017 05:21:56 +0000 (22:21 -0700)
.gitignore
make
package.json [new file with mode: 0644]
package.json5

index 2716eb600d8ab98f720356721712492cb8e42872..532ff160390633479fe93ef91c89ae3039ff31fa 100644 (file)
@@ -1,4 +1,3 @@
 /lib
 /node_modules
 /npm-debug.log
-/package.json
diff --git a/make b/make
index d1704997782f9507027a8821eb70517eb4609cbb..c5d097dedccb59b1b58fcd35b66f5cd700c507d1 100755 (executable)
--- a/make
+++ b/make
@@ -1,5 +1,5 @@
 #!/bin/bash
 set -e
-json5 -c package.json5
+node_modules/.bin/json5 -c package.json5
 rpl XXX $(git describe --tags --match="v*" | sed -e 's@-\([^-]*\)-\([^-]*\)$@+\1.\2@;s@^v@@;s@%@~@g') package.json
 npm run prepare
diff --git a/package.json b/package.json
new file mode 100644 (file)
index 0000000..b8f52ef
--- /dev/null
@@ -0,0 +1,29 @@
+{
+    "name": "logizomai",
+    "version": "0.9.2+3.gc5eca40",
+    "license": "AGPL-3.0",
+    "author": {
+        "name": "Jay Freeman (saurik)",
+        "email": "saurik@saurik.com",
+        "url": "http://www.saurik.com/"
+    },
+    "description": "Deterministic Finalization via Reference Counting",
+    "repository": {
+        "type": "git",
+        "url": "https://git.saurik.com/logizomai.git"
+    },
+    "scripts": {
+        "build": "tsc",
+        "lint": "tslint --project .",
+        "prepare": "npm run build && npm run lint"
+    },
+    "main": "lib/index.js",
+    "types": "lib/index.d.ts",
+    "devDependencies": {
+        "@types/node": "8.0.15",
+        "browserify": "14.4.0",
+        "json5": "0.5.1",
+        "tsify": "3.0.1",
+        "typescript": "2.5.2"
+    }
+}
\ No newline at end of file
index b33e7b2f769a4eae37d7ca711c211187fb9702f4..a9723a602f82b084315ebd535cf8e0ad5205193b 100644 (file)
@@ -22,6 +22,7 @@
     "devDependencies": {
         "@types/node": "8.0.15",
         "browserify": "14.4.0",
+        "json5": "0.5.1",
         "tsify": "3.0.1",
         "typescript": "2.5.2",
     }