any-touch
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"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": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
208275
62
5490
10
+ Addedmini-events@0.2.3(transitive)
- Removedmini-events@0.0.2(transitive)
Updatedmini-events@^0.2.3