testdouble
Advanced tools
Comparing version 1.1.1 to 1.1.3
@@ -13,5 +13,5 @@ // Generated by CoffeeScript 1.10.0 | ||
reset: require('./reset'), | ||
version: process.env.npm_package_version || require('../package.json').version | ||
version: require('./version') | ||
}; | ||
}).call(this); |
{ | ||
"name": "testdouble", | ||
"version": "1.1.1", | ||
"version": "1.1.3", | ||
"description": "A minimal test double library for TDD with JavaScript", | ||
@@ -24,22 +24,19 @@ "homepage": "https://github.com/testdouble/testdouble.js", | ||
"test:browser": "npm run compile && testem ci", | ||
"test:example:webpack": "cd examples/webpack && npm i && npm test & cd ../..", | ||
"test:example:node": "cd examples/node && npm i && npm test && cd ../..", | ||
"test:example:browser": "cd examples/getting-started && npm i && npm test && cd ../..", | ||
"test:example": "npm run test:example:node && npm run test:example:browser", | ||
"test:example:lineman": "cd examples/lineman && npm i && npm test && cd ../..", | ||
"test:example": "npm run test:example:node && npm run test:example:lineman && npm run test:example:webpack", | ||
"test:all": "npm run test --testdouble:mocha_reporter=tap && testem ci && npm run test:example", | ||
"test:ci": "npm run clean && npm run compile && npm run test:all", | ||
"test:debug": "npm test -- --debug-brk", | ||
"version:write": "echo \"module.exports = '$npm_package_version'\" > src/version.coffee", | ||
"preversion": "git pull --rebase && npm run test:ci", | ||
"version": "npm run compile && git add dist", | ||
"postversion": "git push && git push --tags && npm publish", | ||
"version": "npm run version:write && npm run compile && git add dist src/version.coffee", | ||
"prepublish": "npm run compile" | ||
}, | ||
"browser": { | ||
"./lib/replace/module.js": "./lib/replace/module.browser.js" | ||
"./lib/replace/module.js": "./lib/replace/module.browser.js", | ||
"quibble": "./lib/quibble.browser.js" | ||
}, | ||
"browserify": { | ||
"transform": [ | ||
"envify", | ||
"unreachable-branch-transform" | ||
] | ||
}, | ||
"dependencies": { | ||
@@ -54,8 +51,6 @@ "lodash": "^3.10.1", | ||
"disc": "^1.3.2", | ||
"envify": "^3.4.0", | ||
"headerify": "^1.0.1", | ||
"mocha": "^2.3.1", | ||
"mocha-given": "^0.1.3", | ||
"testem": "^0.9.4", | ||
"unreachable-branch-transform": "^0.5.0" | ||
"testem": "^0.9.4" | ||
}, | ||
@@ -82,4 +77,3 @@ "keywords": [ | ||
"iojs": ">= 1.0.0" | ||
}, | ||
"webpack": "dist/testdouble.js" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
8
16071
5
690583
137