Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

testdouble

Package Overview
Dependencies
Maintainers
2
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testdouble - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

generated/args-match.js

24

package.json
{
"name": "testdouble",
"version": "0.3.0",
"version": "0.3.1",
"description": "A minimal test double library for TDD with JavaScript",

@@ -11,4 +11,3 @@ "homepage": "https://github.com/testdouble/testdouble.js",

},
"main": "index.js",
"browser": "lib/testdouble.coffee",
"main": "generated/testdouble.js",
"config": {

@@ -19,17 +18,19 @@ "build_file": "dist/testdouble.js",

"scripts": {
"clean": "rm -rf generated dist && git checkout -- dist",
"start": "testem",
"test": "mocha -u mocha-given -R $npm_package_config_mocha_reporter --compilers coffee:coffee-script --recursive test/node-helper.coffee test/lib",
"test:ci": "npm run test && testem ci",
"compile": "coffee --output generated --compile lib",
"compile:tests": "coffee --output generated/test --compile test",
"test": "mocha --ui mocha-given --reporter $npm_package_config_mocha_reporter --compilers coffee:coffee-script --recursive test/node-helper.coffee test/lib",
"test:ci": "npm run test --testdouble:mocha_reporter=tap && testem ci",
"test:debug": "npm test -- --debug-brk",
"build": "browserify . -s testdouble --extension=.coffee -o $npm_package_config_build_file",
"build:tests": "coffee -o tmp/browser-test-coffee/ test/",
"clean": "rm -rf tmp/ dist/* && git checkout -- dist",
"prebuild": "npm run compile",
"build": "browserify . --standalone testdouble --outfile $npm_package_config_build_file",
"audit:disc": "npm run build -- --full-paths && discify $npm_package_config_build_file --open",
"preversion": "git pull --rebase && npm run test:ci",
"version": "npm run build && git add dist",
"postversion": "git push && git push --tags && npm publish"
"postversion": "git push && git push --tags && npm publish",
"prepublish": "npm run compile"
},
"browserify": {
"transform": [
"coffeeify",
"envify",

@@ -40,3 +41,2 @@ "unreachable-branch-transform"

"dependencies": {
"coffee-script": "^1.10.0",
"lodash": "^3.10.1"

@@ -47,3 +47,3 @@ },

"chai": "^3.2.0",
"coffeeify": "^1.1.0",
"coffee-script": "^1.10.0",
"disc": "^1.3.2",

@@ -50,0 +50,0 @@ "envify": "^3.4.0",

@@ -0,1 +1,2 @@

var pkg = require('./package.json');
browserLauncher = process.env['TESTEM_BROWSER'] || 'phantomjs';

@@ -16,9 +17,9 @@

before_tests: "mkdir -p tmp && npm run build --testdouble:build_file=tmp/subject.js && npm run build:tests",
before_tests: "npm run compile:tests && npm run build",
//might want to add this if you do a lot of file-delete/add churn; faster w/o.
//after_tests: "rm -rf tmp/browser-test-coffee; rm tmp/subject.js",
//after_tests: "npm run clean",
serve_files: [
// subject
"tmp/subject.js",
pkg.config.build_file,

@@ -30,7 +31,7 @@ // vendor helpers

// test helpers
"tmp/browser-test-coffee/general-helper.js",
"tmp/browser-test-coffee/browser-helper.js",
"generated/test/general-helper.js",
"generated/test/browser-helper.js",
// tests
"tmp/browser-test-coffee/lib/**/*.js"
"generated/test/lib/**/*.js"
],

@@ -37,0 +38,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc