From: Jay Freeman (saurik) Date: Sat, 28 Oct 2017 05:21:56 +0000 (-0700) Subject: Do not require the user to have JSON5 (npm sucks). X-Git-Url: https://git.saurik.com/logizomai.git/commitdiff_plain/ac57e5c25509b62dc8281a2f5178de88ffcb954a Do not require the user to have JSON5 (npm sucks). --- diff --git a/.gitignore b/.gitignore index 2716eb6..532ff16 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ /lib /node_modules /npm-debug.log -/package.json diff --git a/make b/make index d170499..c5d097d 100755 --- 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 index 0000000..b8f52ef --- /dev/null +++ b/package.json @@ -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 diff --git a/package.json5 b/package.json5 index b33e7b2..a9723a6 100644 --- a/package.json5 +++ b/package.json5 @@ -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", }