Comparing version 1.3.1 to 2.0.0
export function get (object: object, path: string|string[], def?: any): any; | ||
export function set (object: object, path: string|string[]): any; | ||
export function set (object: object, path: string|string[], val: any): any; |
{ | ||
"name": "shvl", | ||
"version": "1.3.1", | ||
"version": "2.0.0", | ||
"description": "Get and set dot-notated properties within an object", | ||
"license": "MIT", | ||
"author": "Robin van der Vleuten <robin@webstronauts.co>", | ||
"source": "index.js", | ||
"main": "dist/shvl.js", | ||
"module": "dist/shvl.es.js", | ||
"jsnext:main": "dist/shvl.es.js", | ||
"umd:main": "dist/shvl.umd.js", | ||
"module": "dist/shvl.mjs", | ||
"unpkg": "dist/shvl.umd.js", | ||
"typings": "index.d.ts", | ||
@@ -24,4 +24,5 @@ "keywords": [ | ||
"build": "microbundle", | ||
"prepublish": "npm run build", | ||
"test": "npm-run-all --parallel test:**", | ||
"prepublish": "run-s build", | ||
"pretest": "run-s build", | ||
"test": "run-p test:**", | ||
"test:jest": "jest --env=jsdom", | ||
@@ -46,15 +47,15 @@ "test:size": "bundlesize" | ||
"presets": [ | ||
"env" | ||
"@babel/preset-env" | ||
] | ||
}, | ||
"devDependencies": { | ||
"babel-core": "^6.26.0", | ||
"babel-jest": "^22.4.3", | ||
"babel-preset-env": "^1.6.1", | ||
"@babel/core": "^7.0.0", | ||
"@babel/preset-env": "^7.0.0", | ||
"babel-jest": "^24.7.1", | ||
"bundlesize": "^0.16.0", | ||
"jest": "^22.4.2", | ||
"jest": "^24.7.1", | ||
"jest-in-case": "^1.0.2", | ||
"microbundle": "^0.4.4", | ||
"microbundle": "^0.11.0", | ||
"npm-run-all": "^4.1.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7885