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

runtypes

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

runtypes - npm Package Compare versions

Comparing version 0.0.2 to 0.1.0

.travis.yml

50

package.json
{
"name": "runtypes",
"version": "0.0.2",
"description": "Runtime types and validation for JavaScript",
"main": "runtypes.js",
"version": "0.1.0",
"description": "Runtime type validation for TypeScript",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"scripts": {
"test": "mocha testSetup.js src/**/*.spec.js --reporter progress",
"test:watch": "npm run test -- --watch",
"build": "browserify -s runtypes src -o runtypes.js -t [ babelify ]",
"build": "tsc --pretty",
"test": "npm run build && jest --verbose",
"develop": "jest --watchAll",
"release": "npm run release:patch",

@@ -17,27 +18,14 @@ "release:patch": "npm run build && xyz --increment patch",

"license": "MIT",
"engines": {
"node": "^6.2.0"
},
"dependencies": {
"nth": "^0.1.3"
},
"devDependencies": {
"babel-cli": "6.8.0",
"babel-eslint": "^6.0.4",
"babel-preset-es2015": "^6.9.0",
"babelify": "^7.3.0",
"browserify": "^13.0.1",
"eslint": "^2.10.2",
"eslint-plugin-import": "^1.8.1",
"eslint-watch": "^2.1.11",
"mocha": "2.4.5",
"xyz": "^0.5.0"
"@types/jest": "^16.0.4",
"jest": "^18.1.0",
"ts-jest": "^18.0.2",
"typescript": "^2.1.5",
"xyz": "^2.1.0"
},
"keywords:": [
"runtime",
"algebraic",
"data",
"type",
"validation",
"functional"
"typescript"
],

@@ -47,3 +35,15 @@ "repository": {

"url": "https://github.com/pelotom/runtypes"
},
"jest": {
"verbose": false,
"testRegex": ".*/*.spec.ts$",
"moduleFileExtensions": [
"js",
"ts"
],
"transform": {
"\\.(ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor"
},
"testEnvironment": "node"
}
}

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