-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
67 lines (67 loc) · 2.37 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"name": "joystick-controller",
"version": "1.1.1",
"description": "A JavaScript virtual joystick controller for both desktop and mobile devices.",
"scripts": {
"build:types": "tsc",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel dist/ts --extensions \".js\" --out-dir dist/lib",
"build:es": "babel dist/ts --extensions \".js\" --out-dir dist/es",
"build:babel": "npm run build:types && npm run build:commonjs && npm run build:es",
"build:umd": "cross-env NODE_ENV=development rollup -c -o dist/umd/joystick-controller.js",
"build:umd:min": "cross-env NODE_ENV=production rollup -c -o dist/umd/joystick-controller.min.js",
"build": "npm run build:babel && npm run build:umd && npm run build:umd:min ",
"upload": "npm version patch --no-commit-hooks --no-git-tag-version && npm run build && npm publish"
},
"private": false,
"main": "dist/lib/joystick-controller.js",
"unpkg": "dist/umd/joystick-controller.min.js",
"module": "dist/es/joystick-controller.js",
"types": "dist/ts/joystick-controller.d.ts",
"files": [
"dist"
],
"devDependencies": {
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-decorators": "^7.12.1",
"@babel/plugin-proposal-object-rest-spread": "^7.12.1",
"@babel/plugin-transform-react-display-name": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@microsoft/api-extractor": "^7.18.1",
"@rollup/plugin-babel": "^5.2.1",
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-replace": "^2.3.3",
"cross-env": "^7.0.2",
"rollup": "^2.32.1",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^5.5.4",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"@babel/runtime": "^7.12.1",
"@rollup/plugin-typescript": "^11.1.6",
"tslib": "^2.7.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cyrus2281/joystick-controller.git"
},
"keywords": [
"joystick",
"joystick-controller",
"controller",
"gamepad",
"touchpad",
"touch-control",
"touch-joystick"
],
"author": "Cyrus Mobini (cyrus2281)",
"license": "MIT",
"bugs": {
"url": "https://github.com/cyrus2281/joystick-controller/issues"
},
"homepage": "https://github.com/cyrus2281/joystick-controller#readme"
}