-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.15 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"name": "mobile-device-motion",
"version": "1.0.6",
"description": "监听设备的位置移动加速度,手机摇一摇功能",
"type": "module",
"types": "dist/main.d.ts",
"main": "dist/mobileDeviceMotion.common.js",
"module": "dist/mobileDeviceMotion.esm.js",
"umd:main": "dist/mobileDeviceMotion.umd.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "rollup -c"
},
"repository": "https://github.com/coderyqy/mobile-device-motion.git",
"keywords": [
"devicemotion",
"DeviceMotionEvent",
"mobile-device-motion",
"设备的位置和方向的改变速度",
"重力加速度",
"摇一摇"
],
"author": "coderyqy",
"license": "MIT",
"devDependencies": {
"@babel/core": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-commonjs": "^25.0.3",
"@rollup/plugin-node-resolve": "^15.1.0",
"@rollup/plugin-terser": "^0.4.3",
"rollup": "^3.28.0",
"rollup-plugin-typescript2": "^0.35.0"
},
"files": [
"/dist"
],
"dependencies": {
"@rollup/plugin-babel": "^6.0.3",
"typescript": "^5.1.6"
}
}