Skip to content

Commit

Permalink
chore: Move to nlm for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Krems committed Dec 28, 2015
1 parent f358482 commit 3c704a4
Show file tree
Hide file tree
Showing 12 changed files with 61 additions and 40 deletions.
7 changes: 6 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# See: http://EditorConfig.org
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules
node_modules/
npm-debug.log
/tmp
3 changes: 0 additions & 3 deletions .npmignore

This file was deleted.

1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
registry=https://registry.npmjs.org
17 changes: 14 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
language: node_js
node_js:
- 0.10
- 0.12
- iojs
- '0.10'
- '4'
before_install:
- npm install -g npm@latest-2
before_deploy:
- git config --global user.email "[email protected]"
- git config --global user.name "Groupon"
deploy:
provider: script
script: './node_modules/.bin/nlm release'
skip_cleanup: true
on:
branch: master
node: '4'
1 change: 0 additions & 1 deletion lib/cson-parser.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Generated by CoffeeScript 1.10.0

/*
Copyright (c) 2014, Groupon, Inc.
Expand Down
1 change: 0 additions & 1 deletion lib/parse.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Generated by CoffeeScript 1.10.0

/*
Copyright (c) 2014, Groupon, Inc.
Expand Down
1 change: 0 additions & 1 deletion lib/stringify.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Generated by CoffeeScript 1.10.0

/*
Copyright (c) 2014, Groupon, Inc.
Expand Down
63 changes: 35 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,50 @@
"name": "cson-parser",
"version": "1.3.0",
"description": "Safe parsing of CSON files",
"license": "BSD-3-Clause",
"main": "lib/cson-parser.js",
"keywords": [
"cson",
"parser"
],
"license": "BSD-2-Clause",
"homepage": "https://github.com/groupon/cson-parser",
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/groupon/cson-parser"
},
"bugs": "https://github.com/groupon/cson-parser/issues",
"scripts": {
"build": "npub prep && coffee -cbo lib src",
"prepublish": "rm -rf lib && npm run build",
"build": "rm -rf lib && coffee --no-header -cbo lib src",
"pretest": "npm run build",
"test": "mocha",
"posttest": "npub verify"
"posttest": "nlm verify",
"watch": "coffee --no-header -wcbo lib src & nodemon -w lib -w test -e coffee,js,json -x \"mocha\""
},
"author": {
"name": "Jan Krems",
"email": "<[email protected]>"
"nlm": {
"license": {
"files": [
"src"
]
}
},
"dependencies": {
"coffee-script": "^1.10.0"
},
"devDependencies": {
"assertive": "^1.4.0",
"assertive": "^2.0.0",
"mocha": "^2.0.0",
"npub": "^2.0.0"
"nlm": "^2.0.0",
"nodemon": "^1.0.0"
},
"dependencies": {
"coffee-script": "^1.9.0"
"author": {
"name": "Groupon",
"email": "[email protected]"
},
"keywords": [
"cson",
"parser"
],
"files": [
"*.js",
"lib"
],
"publishConfig": {
"registry": "https://registry.npmjs.org",
"license": {
"exclude": [
"lib",
"test"
]
}
},
"repository": {
"type": "git",
"url": "https://github.com/groupon/cson-parser.git"
},
"bugs": "https://github.com/groupon/cson-parser/issues"
"registry": "https://registry.npmjs.org"
}
}
3 changes: 2 additions & 1 deletion test/mocha.opts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
--compilers coffee:coffee-script/register
--compilers test.coffee:coffee-script/register
--recursive
File renamed without changes.
File renamed without changes.

0 comments on commit 3c704a4

Please sign in to comment.