Comparing version 2.1.1 to 2.2.1
{ | ||
"version": "2.1.1", | ||
"version": "2.2.1", | ||
"name": "txtgen", | ||
@@ -16,13 +16,8 @@ "description": "Util for generating random sentences, paragraphs and articles in English", | ||
"engines": { | ||
"node": ">= 6.0" | ||
"node": ">= 7.6" | ||
}, | ||
"scripts": { | ||
"lint": "eslint src test/specs", | ||
"nsp": "nsp check --output checkstyle", | ||
"tape": "nyc babel-node node_modules/.bin/tape test/start.js | tap-spec", | ||
"report": "nyc report --reporter=lcov > coverage.lcov && codecov", | ||
"pretest": "npm run lint && npm run nsp", | ||
"test": "npm run tape", | ||
"posttest": "CODECOV_TOKEN=0f80ffa2-ed0e-4501-ac91-49397be8b3fe npm run report", | ||
"start": "babel-node src/main", | ||
"pretest": "npm run lint && npm run build", | ||
"test": "tap test/start.js --coverage --reporter=spec", | ||
"build": "gccmin -e src/main.js -n txtgen -o dist -p package.json", | ||
@@ -32,32 +27,8 @@ "reset": "node reset" | ||
"devDependencies": { | ||
"babel-cli": "^6.26.0", | ||
"babel-preset-env": "^1.6.1", | ||
"codecov": "^3.0.1", | ||
"eslint": "^4.19.1", | ||
"eslint-config-goes": "^1.0.0", | ||
"gcc-min": "^6.0.3", | ||
"nsp": "^3.2.1", | ||
"nyc": "^11.7.1", | ||
"tap-spec": "^4.1.1", | ||
"tape": "^4.9.0" | ||
"gcc-min": "^7.0.1", | ||
"tap": "^12.0.1" | ||
}, | ||
"babel": { | ||
"presets": [ | ||
[ | ||
"env", | ||
{ | ||
"targets": { | ||
"browsers": [ | ||
"> 1%" | ||
] | ||
} | ||
} | ||
] | ||
], | ||
"plugins": [ | ||
[ | ||
"transform-remove-strict-mode" | ||
] | ||
] | ||
}, | ||
"keywords": [ | ||
@@ -64,0 +35,0 @@ "text", |
@@ -6,5 +6,2 @@ # txtgen | ||
[![Build Status](https://travis-ci.org/ndaidong/txtgen.svg?branch=master)](https://travis-ci.org/ndaidong/txtgen) | ||
[![codecov](https://codecov.io/gh/ndaidong/txtgen/branch/master/graph/badge.svg)](https://codecov.io/gh/ndaidong/txtgen) | ||
[![Dependency Status](https://gemnasium.com/badges/github.com/ndaidong/txtgen.svg)](https://gemnasium.com/github.com/ndaidong/txtgen) | ||
[![NSP Status](https://nodesecurity.io/orgs/techpush/projects/1b2672cb-6712-436d-bd2c-c122892775bb/badge)](https://nodesecurity.io/orgs/techpush/projects/1b2672cb-6712-436d-bd2c-c122892775bb) | ||
@@ -11,0 +8,0 @@ |
@@ -7,3 +7,3 @@ /** | ||
const fs = require('fs'); | ||
const test = require('tape'); | ||
const test = require('tap').test; | ||
@@ -10,0 +10,0 @@ const pkgFake = require('../../package.json'); |
@@ -6,3 +6,3 @@ /** | ||
const test = require('tape'); | ||
const test = require('tap').test; | ||
const { | ||
@@ -16,3 +16,2 @@ isString, | ||
const es6 = require('../../src/main'); | ||
const full = require('../../dist/txtgen'); | ||
@@ -102,3 +101,3 @@ const min = require('../../dist/txtgen.min'); | ||
[es6, full, min].map(checkAllVariants); | ||
[full, min].map(checkAllVariants); | ||
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5
1
162796
21
4070
96