direct-vuex
Advanced tools
Comparing version 0.8.5 to 0.8.6
{ | ||
"name": "direct-vuex", | ||
"version": "0.8.5", | ||
"version": "0.8.6", | ||
"description": "Use and implement your Vuex store with TypeScript types. Compatible with the Vue 3 composition API.", | ||
"author": "Paleo", | ||
"main": "dist/direct-vuex.js", | ||
"module": "dist-esm/direct-vuex.js", | ||
"types": "types/index.d.ts", | ||
"scripts": { | ||
"prepublishOnly": "npm run build", | ||
"clear": "rimraf 'dist/*'", | ||
"clear": "rimraf 'dist/*' 'dist-esm/*'", | ||
"tsc": "tsc", | ||
"tsc:watch": "tsc --watch", | ||
"build": "npm run clear && npm run tsc", | ||
"tsc:esm": "tsc --module ES2015 --outDir dist-esm", | ||
"build": "npm run clear && npm run tsc && npm run tsc:esm", | ||
"lint": "tslint -p tsconfig.json -t verbose", | ||
@@ -15,0 +17,0 @@ "test": "jest", |
{ | ||
"compilerOptions": { | ||
"strict": true, | ||
"target": "es2015", | ||
"target": "ES2015", | ||
"module": "commonjs", | ||
@@ -23,4 +23,5 @@ "sourceMap": false, | ||
"node_modules", | ||
"dist" | ||
"dist", | ||
"dist-esm" | ||
] | ||
} |
@@ -121,3 +121,3 @@ import { ActionContext, Store } from "vuex" | ||
export type OrEmpty<T> = T extends {} ? T : {} | ||
type OrEmpty<T> = T extends {} ? T : {} | ||
@@ -124,0 +124,0 @@ type UnionToIntersection<U> = |
48906
16
976