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

any-touch

Package Overview
Dependencies
Maintainers
1
Versions
149
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

any-touch - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

example/index.html

11

package.json
{
"name": "any-touch",
"version": "0.0.4",
"version": "0.0.5",
"description": "一个手势库",
"main": "dist/anyTouch.common.js",
"module": "dist/anyTouch.es.js",
"types": "types/main.d.ts",
"scripts": {
"release": "npm run build && npm run test && npm pub && git push",
"build": "rimraf dist && rollup -c",
"watch": "rimraf dist && rollup -c --watch",
"dev": "rimraf dist && rollup -c --watch",
"test": "jest --no-cache"

@@ -25,5 +27,6 @@ },

"jest": "^23.6.0",
"mini-events": "^0.0.1",
"rimraf": "^2.6.2",
"rollup": "^0.67.1",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-typescript": "^1.0.0",

@@ -35,4 +38,4 @@ "ts-jest": "^23.10.4",

"dependencies": {
"mini-events": "^0.0.2"
"mini-events": "^0.2.3"
}
}
// import babel from 'rollup-plugin-babel';
import commonjs from 'rollup-plugin-commonjs';
import nodeResolve from 'rollup-plugin-node-resolve';
import typescript from 'rollup-plugin-typescript';

@@ -7,4 +9,17 @@ export default {

exclude: 'node_modules/**',
typescript: require('typescript')
})],
typescript: require('typescript'),
}),
nodeResolve({
jsnext: true,
main: true
}),
commonjs({
// non-CommonJS modules will be ignored, but you can also
// specifically include/exclude files
include: 'node_modules/**', // Default: undefined
})
],
output: [{

@@ -11,0 +26,0 @@ format: 'cjs',

@@ -12,3 +12,4 @@ {

"lib": ["dom", "es2017"],
"downlevelIteration": true
"downlevelIteration": true,
"moduleResolution": "node"
},

@@ -15,0 +16,0 @@ "include": [

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