-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 2.59 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
{
"name": "mirlo",
"description": "Another Simple JavaScript WC",
"version": "0.5.0",
"type": "module",
"keywords": [
"webcomponent",
"simple",
"javascript",
"browser"
],
"files": [
"LICENSE",
"README.md",
"dist/"
],
"main": "./dist/mirlo.mjs",
"exports": {
".": {
"default": "./dist/mirlo.mjs"
},
"./package.json": "./package.json"
},
"repository": {
"type": "git",
"url": "git+ssh://[email protected]/Tardo/mirlo.git"
},
"author": "Alexandre",
"license": "MIT",
"bugs": {
"url": "https://github.com/Tardo/mirlo/issues"
},
"homepage": "https://github.com/Tardo/mirlo#readme",
"scripts": {
"prepare": "husky install",
"clean": "rm -rf ./dist",
"lint": "eslint --cache --color .",
"watch": "rollup -c -w",
"build": "rollup -c",
"test": "npm run build && node --experimental-vm-modules node_modules/.bin/jest",
"generate-docs": "rm -rf docs/* && jsdoc -c jsdoc.json && mv docs/**/**/* docs/ && rm -rf docs/mirlo/ && cp mirlo.png docs/"
},
"devDependencies": {
"@rollup/plugin-alias": "^5.1.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.2",
"docdash": "^2.0.2",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdoc": "^4.0.3",
"lint-staged": "^15.2.9",
"prettier": "^3.3.3",
"rollup": "^4.20.0",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-cleanup": "^3.2.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "node --experimental-vm-modules node_modules/.bin/jest"
}
},
"lint-staged": {
"*": [
"prettier --write"
],
"*.{mjs,js}": [
"eslint --color --fix"
]
},
"jest": {
"setupFilesAfterEnv": [
"<rootDir>/setup-jest.mjs"
],
"testEnvironment": "jsdom",
"testMatch": [
"**/?(*.)test.?js"
],
"moduleFileExtensions": [
"js",
"mjs"
]
},
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"quoteProps": "as-needed",
"jsxSingleQuote": false,
"trailingComma": "all",
"bracketSpacing": false,
"bracketSameLine": false,
"arrowParens": "avoid",
"requirePragma": false,
"proseWrap": "always",
"htmlWhitespaceSensitivity": "css",
"vueIndentScriptAndStyle": false,
"endOfLine": "lf",
"embeddedLanguageFormatting": "auto",
"singleAttributePerLine": false
}
}