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

onlystate

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onlystate - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

types/devTools.d.ts

4

dist/only-state.js
/*
* only-state.js 0.0.4
* only-state.js 0.0.5
* author:webszy
* date:2022/5/10 下午5:38:57
* date:2022/5/10 下午6:09:30
*/

@@ -6,0 +6,0 @@ import { reactive, computed, toRefs } from 'vue';

{
"name": "onlystate",
"version": "0.0.4",
"version": "0.0.5",
"description": "A state and only state management library for Vue3",
"main": "/dist/only-state.js",
"main": "dist/only-state.js",
"type": "module",
"types": "types/index.d.ts",
"scripts": {

@@ -30,4 +31,5 @@ "build": "rollup -c",

"rollup": "^2.72.1",
"rollup-plugin-dts": "^4.2.1",
"rollup-plugin-typescript2": "^0.31.2"
}
}
import { nodeResolve } from '@rollup/plugin-node-resolve';
import {version} from './package.json';
import typescript from 'rollup-plugin-typescript2';
// import dts from "rollup-plugin-dts";
export default {
import {defineConfig} from 'rollup'
export default defineConfig({
input: "src/index.ts", // 入口

@@ -19,5 +21,5 @@ output: {

nodeResolve({dedupe:['@vue/devtools-api']}),
typescript({})
typescript({clean:true,useTsconfigDeclarationDir:true})
], // 各种插件使用的配置
external: ['vue'],// 外部依赖的配置
};
})

@@ -46,2 +46,3 @@ {

"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
"declarationDir": "./types",
// "declarationMap": true, /* Create sourcemaps for d.ts files. */

@@ -48,0 +49,0 @@ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */

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