-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
53 lines (53 loc) · 1.33 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
{
"name": "event-from",
"version": "1.0.0",
"description": "Determine if an event was caused by mouse, touch or key input.",
"main": "dist/event-from.cjs.js",
"module": "dist/event-from.esm.js",
"types": "dist/index.d.ts",
"sideEffects": false,
"scripts": {
"build": "rollpkg build",
"watch": "rollpkg watch",
"prepublishOnly": "npm run lint && npm test && npm run build",
"lint": "eslint src",
"test": "jest",
"test:watch": "jest --watchAll",
"coverage": "npx live-server coverage/lcov-report",
"lintStaged": "lint-staged"
},
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/rafgraph/event-from.git"
},
"author": "Rafael Pedicini <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/rafgraph/event-from/issues"
},
"homepage": "https://event-from.rafgraph.dev",
"devDependencies": {
"lint-staged": "^10.5.4",
"pre-commit": "^1.2.2",
"rollpkg": "^0.5.5",
"typescript": "^4.2.4"
},
"pre-commit": "lintStaged",
"lint-staged": {
"(src/**/*|demo/src/**/*)": [
"prettier --write --ignore-unknown"
]
},
"prettier": "rollpkg/configs/prettier.json",
"eslintConfig": {
"extends": [
"./node_modules/rollpkg/configs/eslint"
]
},
"jest": {
"preset": "rollpkg"
}
}