#!/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
--- /dev/null
+{
+ "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