Skip to content

Commit

Permalink
prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymholt committed Jul 30, 2017
1 parent d0f2fe5 commit 0916837
Show file tree
Hide file tree
Showing 14 changed files with 894 additions and 702 deletions.
35 changes: 16 additions & 19 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug Mocha tests",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
"stopOnEntry": false,
"args": [
"--compilers",
"ts:ts-node/register"
],
"cwd": "${workspaceRoot}",
"env": {
"NODE_ENV": "development"
},
"sourceMaps": true
}
]
"version": "0.2.0",
"configurations": [
{
"name": "Debug Mocha tests",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
"stopOnEntry": false,
"args": ["--compilers", "ts:ts-node/register"],
"cwd": "${workspaceRoot}",
"env": {
"NODE_ENV": "development"
},
"sourceMaps": true
}
]
}
9 changes: 4 additions & 5 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"**/build": true,
"**/dist": true
}
"files.exclude": {
"**/build": true,
"**/dist": true
}
}
51 changes: 23 additions & 28 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
{
"version": "2.0.0",
"command": "npm",
"runner": "terminal",
"suppressTaskName": true,
"tasks": [
{
"taskName": "build",
"group": {
"kind": "build",
"isDefault": true
},
"args": [
"run",
"build"
],
"problemMatcher": "$tsc"
},
{
"taskName": "test",
"group": {
"kind": "test",
"isDefault": true
},
"args": [
"test"
]
}
]
"version": "2.0.0",
"command": "npm",
"runner": "terminal",
"suppressTaskName": true,
"tasks": [
{
"taskName": "build",
"group": {
"kind": "build",
"isDefault": true
},
"args": ["run", "build"],
"problemMatcher": "$tsc"
},
{
"taskName": "test",
"group": {
"kind": "test",
"isDefault": true
},
"args": ["test"]
}
]
}
12 changes: 2 additions & 10 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"name": "cronstrue",
"description": "Convert cron expressions into human readable descriptions",
"main": "dist/cronstrue.js",
"authors": [
"Brady Holt"
],
"authors": ["Brady Holt"],
"license": "MIT",
"keywords": [
"cron",
Expand Down Expand Up @@ -33,11 +31,5 @@
"schedule"
],
"homepage": "https://github.com/bradyholt/cronstrue",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
]
"ignore": ["**/.*", "node_modules", "bower_components", "test", "tests"]
}
2 changes: 1 addition & 1 deletion i18n.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file allows dist/cronstrue-i18n.js to be required from Node as:
// var cronstrue = require('cronstrue/i18n');

var cronstrueWithLocales = require('./dist/cronstrue-i18n.js');
var cronstrueWithLocales = require("./dist/cronstrue-i18n.js");
module.exports = cronstrueWithLocales;
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@
],
"main": "dist/cronstrue.js",
"typings": "dist/cronstrue.d.ts",
"files": [
"dist/",
"i18n.js"
],
"files": ["dist/", "i18n.js"],
"repository": {
"type": "git",
"url": "git+https://github.com/bradyholt/cronstrue.git"
Expand Down
Loading

0 comments on commit 0916837

Please sign in to comment.