cosmic-lib
Version:
A JavaScript implementation of the CosmicLink protocol for Stellar
82 lines (81 loc) • 3.54 kB
JSON
{
"name": "cosmic-lib",
"version": "2.10.1",
"description": "A JavaScript implementation of the CosmicLink protocol for Stellar",
"author": "MisterTicot <mister.ticot@cosmic.plus>",
"homepage": "https://cosmic.plus/#view:js-cosmic-lib",
"repository": "github:cosmic-plus/js-cosmic-lib",
"license": "MIT",
"main": "src/index.js",
"module": "es5/index.js",
"keywords": [
"stellar",
"CosmicLink",
"SEP-0007",
"transaction",
"request",
"QRcode",
"browser",
"node"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"get": "git submodule update -i --recursive",
"clean": "rm -rf es5/* web/*",
"prettier": "prettier --write --no-semi '{src,test}/**/*.{js,json,md}' '*.{js,json,md}'",
"eslint": "eslint --fix '{src,test}/**/*.js' '*.js'",
"lint": "npm run prettier && npm run eslint",
"set-dev": "sh setenv.sh -d",
"set-prod": "sh setenv.sh -p",
"build-es5": "babel --out-dir es5 src",
"build-js": "npm run build-es5 && webpack -p",
"build-scss": "node-sass style/cosmic-lib.scss -o web -t compressed --precision 2",
"build-css": "npm run build-scss && autoprefixer-cli web/cosmic-lib.css",
"build-doc": "rm -rf web/doc; jsdoc -c jsdoc.json",
"build-static": "cp -a static/. web",
"build-misc": "cp -f *.md package-lock.json web",
"build-all": "for i in js css doc static misc; do npm run build-$i || return; done",
"build": "npm run clean && npm run set-prod && npm run build-all",
"rebuild": "npm run get && cp -f web/package-lock.json . && npm ci && npm run build",
"check": "npm run rebuild && cd web && git status && [ ! \"$(git status -z)\" ]",
"watch-css": "node-sass style/cosmic-lib.scss -wo web",
"watch-es5": "babel --watch --out-dir es5 src",
"watch-js": "npm run build-es5 && webpack -d --watch & npm run watch-es5",
"watch-static": "cp -fl static/*.* web",
"watch": "npm run watch-static && npm run watch-css & npm run watch-js",
"serve": "npm run set-dev && npm run watch & cd web && live-server",
"commit-web": "cd web && git ci -am \"$message\"",
"commit-main": "git ci -am \"$message\"",
"commit-all": "[ \"$version\" ] && npm run commit-web && npm run commit-main",
"commit-release": "export message=\"Release $version\" && npm run commit-all",
"tag-web": "cd web && git tag -s \"$version\" -m \"$message\"",
"tag-main": "git tag -s \"$version\" -m \"$message\"",
"tag-all": "[ \"$version\" -a \"$message\" ] && npm run tag-web && npm run tag-main",
"tag-release": "export version message=\"Release $version\" && npm run tag-all",
"push-release": "cd web && git push --follow-tags && cd .. && git push --follow-tags",
"make-release": "npm update && npm run build && npm run commit-release",
"publish-release": "npm run check && npm run tag-release && npm run push-release && npm publish"
},
"devDependencies": {
"@babel/cli": "^7.10.4",
"@babel/core": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"autoprefixer-cli": "^1.0.0",
"eslint": "^6.8.0",
"jsdoc": "^3.6.3",
"live-server": "^1.2.1",
"minami": "^1.2.3",
"node-sass": "^4.13.1",
"prettier": "^1.19.1",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.12"
},
"dependencies": {
"@babel/runtime": "^7.10.4",
"@cosmic-plus/base": "^2.8.0",
"@cosmic-plus/domutils": "^2.1.0",
"@cosmic-plus/jsutils": "^2.0.2",
"stellar-sdk": "^5.0.3"
}
}