Socket
Socket
Sign inDemoInstall

neon-cli

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

neon-cli - npm Package Compare versions

Comparing version 0.1.20 to 0.1.21

lib/artifacts.d.ts

2

bin/cli.js
#!/usr/bin/env node
var CLI = require('../dist/neon-cli/cli.js').default;
var CLI = require('../lib/cli.js').default;
var cli = new CLI(process.argv, process.cwd());

@@ -5,0 +5,0 @@ cli.exec()

{
"name": "neon-cli",
"version": "0.1.20",
"version": "0.1.21",
"description": "Build and load native Rust/Neon modules.",
"author": "Dave Herman <dherman@mozilla.com>",
"author": "Dave Herman <david.herman@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/neon-bindings/neon-cli.git"
"url": "https://github.com/neon-bindings/neon.git"
},
"main": "dist/neon-cli/index.js",
"types": "dist/neon-cli/index.d.ts",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"bin": {
"neon": "./bin/cli.js"
},
"license": "MIT",
"license": "SEE LICENSE IN LICENSE-*",
"dependencies": {
"chalk": "^1.1.1",
"chalk": "~2.1.0",
"command-line-args": "^4.0.2",

@@ -23,3 +23,2 @@ "command-line-commands": "^2.0.0",

"handlebars": "^4.0.3",
"in-publish": "^2.0.0",
"inquirer": "^3.0.6",

@@ -29,3 +28,3 @@ "mkdirp": "^0.5.1",

"rimraf": "^2.6.1",
"rsvp": "^3.1.0",
"rsvp": "^4.6.1",
"semver": "^5.1.0",

@@ -35,22 +34,22 @@ "toml": "^2.3.0",

"validate-npm-package-license": "^3.0.1",
"validate-npm-package-name": "^2.2.2"
"validate-npm-package-name": "^3.0.0"
},
"devDependencies": {
"@types/chai": "^3.5.2",
"@types/chai": "^4.0.4",
"@types/chalk": "^0.4.31",
"@types/es6-promise": "0.0.32",
"@types/es6-promise": "0.0.33",
"@types/handlebars": "^4.0.32",
"@types/inquirer": "0.0.33",
"@types/mkdirp": "^0.3.29",
"@types/inquirer": "0.0.35",
"@types/mkdirp": "^0.5.1",
"@types/mocha": "^2.2.41",
"@types/nexpect": "^0.4.29",
"@types/node": "^7.0.13",
"@types/rimraf": "0.0.28",
"@types/node": "^8.0.28",
"@types/rimraf": "^2.0.2",
"@types/rsvp": "^3.3.1",
"@types/semver": "^5.3.31",
"@types/tmp": "0.0.32",
"@types/tmp": "0.0.33",
"chai": "^3.4.1",
"mocha": "^2.3.4",
"mocha": "^3.5.3",
"nexpect": "^0.5.0",
"tmp": "0.0.28",
"tmp": "0.0.33",
"ts-dict": "^0.1.1",

@@ -62,10 +61,9 @@ "ts-node": "^3.0.2",

"scripts": {
"test": "npm run transpile && mocha dist/neon-cli-test/acceptance",
"transpile": "tsc",
"prepublish": "in-install || npm run transpile"
"prepublishOnly": "npm run transpile"
},
"bugs": {
"url": "https://github.com/neon-bindings/neon-cli/issues"
"url": "https://github.com/neon-bindings/neon/issues"
},
"homepage": "https://github.com/neon-bindings/neon-cli"
"homepage": "https://www.neon-bindings.com"
}
# The Neon Command-Line Tool
[![Build Status](https://travis-ci.org/neon-bindings/neon-cli.svg?branch=master)](https://travis-ci.org/neon-bindings/neon-cli)
[![npm](https://img.shields.io/npm/v/neon-cli.svg)](https://www.npmjs.com/package/neon-cli)
Automatically create and build [Neon](https://github.com/neon-bindings/neon) modules.
![Screencast](screencast.gif)
# Getting started
Install `neon-cli` as a global package:
```
npm install -g neon-cli
```
To create a new Neon project, use `neon new`:
```
neon new my-project
```
This will ask you a few questions and then generate a project skeleton for you. Follow the instructions from there to build and run your project!
# Requirements
See the [Neon README](https://github.com/neon-bindings/neon/#requirements).
# Commands
## neon new
Creates a new Neon project skeleton.
```
neon new <name> [--rust|-r <toolchain>]
```
The `name` is the project name and the name of the subdirectory of the current working directory that will be created.
The optional `--rust` parameter allows specifying a custom toolchain (`stable` or `nightly`) to use for building the project with multirust instead of the system default Rust installation.
# Get Involved
The Neon community is just getting started and there's tons of fun to be had. Come play! :)
The [Rust Bindings community Slack](https://rust-bindings.slack.com/) is open to all; use [the Slackin app](https://rust-bindings-slackin.herokuapp.com/) to receive an invitation.
# License
MIT
For more information, see the [Neon home page](https://www.neon-bindings.com)!

@@ -11,8 +11,4 @@ {

"sourceMap": false,
"outDir": "dist",
"rootDir": "packages",
"baseUrl": "./packages",
"paths": {
"*": ["*"]
},
"outDir": "lib",
"declaration": true,

@@ -30,3 +26,3 @@

"include": [
"packages/**/*"
"src/**/*"
],

@@ -33,0 +29,0 @@ "exclude": [

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc