kopia lustrzana https://github.com/badgen/badgen
chore: publish bundled badgen.min.js only
rodzic
ed4b6c9d08
commit
6ea62278ee
|
@ -1,3 +1,3 @@
|
||||||
node_modules
|
node_modules
|
||||||
.nyc_output
|
.nyc_output
|
||||||
dist
|
badgen.min.js
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
.*
|
.*
|
||||||
|
lib
|
||||||
test
|
test
|
||||||
bench
|
bench
|
||||||
preview
|
preview
|
||||||
|
|
|
@ -2,3 +2,5 @@ language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- "8"
|
- "8"
|
||||||
- "10"
|
- "10"
|
||||||
|
before_script:
|
||||||
|
- "npm run build"
|
||||||
|
|
|
@ -962,7 +962,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": {
|
"chalk": {
|
||||||
"version": "1.1.3",
|
"version": "1.1.3",
|
||||||
"resolved": "http://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
|
"resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
|
||||||
"integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
|
"integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
|
@ -2246,7 +2246,7 @@
|
||||||
},
|
},
|
||||||
"external-editor": {
|
"external-editor": {
|
||||||
"version": "2.2.0",
|
"version": "2.2.0",
|
||||||
"resolved": "http://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz",
|
"resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz",
|
||||||
"integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==",
|
"integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"repository": "amio/badgen",
|
"repository": "amio/badgen",
|
||||||
"author": "Amio <amio.cn@gmail.com>",
|
"author": "Amio <amio.cn@gmail.com>",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"main": "lib/index.js",
|
"main": "badgen.min.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "standard",
|
"lint": "standard",
|
||||||
"bench": "node bench/index.js",
|
"bench": "node bench/index.js",
|
||||||
|
@ -13,7 +13,8 @@
|
||||||
"snaptests": "TAP_SNAPSHOT=1 npm test",
|
"snaptests": "TAP_SNAPSHOT=1 npm test",
|
||||||
"pretest": "npm run lint",
|
"pretest": "npm run lint",
|
||||||
"test": "tap test/*.spec.js --reporter spec --coverage",
|
"test": "tap test/*.spec.js --reporter spec --coverage",
|
||||||
"prepublishOnly": "lyo"
|
"build": "lyo -i lib/index.js -o .",
|
||||||
|
"prepublishOnly": "npm run build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"benchmark": "^2.1.4",
|
"benchmark": "^2.1.4",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
const tap = require('tap')
|
const tap = require('tap')
|
||||||
const badgen = require('..')
|
const badgen = require('../lib/index.js')
|
||||||
const icons = require('./icon-data-uri.js')
|
const icons = require('./icon-data-uri.js')
|
||||||
|
|
||||||
tap.test('generate badge with { subject, status }', t => {
|
tap.test('generate badge with { subject, status }', t => {
|
||||||
|
|
Ładowanie…
Reference in New Issue