hello-gjs-npm
Version:
Example application demonstrating the use of Babel and Rollup to create an NPM installable and -runnable Gjs executable from ES2015 project source
38 lines (37 loc) • 1.24 kB
JSON
{
"name": "hello-gjs-npm",
"version": "1.0.8",
"description": "Example application demonstrating the use of Babel and Rollup to create an NPM installable and -runnable Gjs executable from ES2015 project source",
"bin": "hello-gjs-npm",
"scripts": {
"start": "PATH=`pwd`/:$PATH hello-gjs-npm",
"restart": "npm run build && npm start",
"build": "npm run build:shebang && npm run build:rollup && npm run build:permissions",
"build:shebang": "echo '#!/usr/bin/env gjs\n' > hello-gjs-npm",
"build:rollup": "rollup -c >> hello-gjs-npm",
"build:permissions": "chmod +x hello-gjs-npm",
"test": "babel-node --presets=es2015 test/*/*-test.js | tap",
"prepublish": "npm run build"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/jo/hello-gjs-npm.git"
},
"keywords": [
"gnome",
"gjs",
"gtk",
"gtk3"
],
"author": "Johannes J. Schmidt <jo@die-tf.de> (https://www.die-tf.de)",
"license": "Apache-2.0",
"devDependencies": {
"babel-cli": "^6.4.5",
"babel-preset-es2015": "^6.3.13",
"babel-preset-es2015-rollup": "^3.0.0",
"babel-runtime": "^6.26.0",
"rollup": "^0.50.0",
"rollup-plugin-babel": "^3.0.2",
"tap": "^10.7.2"
}
}