-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 1.74 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
{
"name": "jsonpanel-next",
"version": "2.0.0",
"description": "Pretty JSON viewer for the web, zero dependencies.",
"keywords": [
"JSON",
"json viewer",
"jsonpanel",
"pretty print"
],
"homepage": "https://github.com/Xenonym/jsonpanel-next#readme",
"bugs": "https://github.com/Xenonym/jsonpanel-next/issues",
"repository": {
"type": "git",
"url": "https://github.com/Xenonym/jsonpanel-next.git"
},
"license": "MIT",
"author": "Tan Zhen Yong <[email protected]>",
"files": [
"dist"
],
"main": "dist/jsonpanel-next.cjs.js",
"module": "dist/jsonpanel-next.esm.js",
"scripts": {
"build": "rollup -c",
"dev": "rollup -c -w",
"lint": "xo",
"lint-fix": "xo --fix",
"prep-demo": "node scripts/prep-demo.js",
"pretest": "npm run lint && npm run build",
"test": "jest"
},
"xo": {
"envs": [
"browser"
],
"overrides": [
{
"files": "test/*.test.js",
"envs": [
"browser",
"jest"
],
"plugins": [
"jest"
],
"extends": [
"plugin:jest/recommended"
]
}
],
"prettier": true,
"rules": {
"import/no-unassigned-import": [
"error",
{
"allow": [
"**/*.scss"
]
}
],
"unicorn/prefer-module": "off",
"unicorn/prevent-abbreviations": "off"
},
"space": 2
},
"devDependencies": {
"@rollup/plugin-terser": "0.4.4",
"eslint-plugin-jest": "28.10.0",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"postcss-preset-env": "10.1.3",
"prettier": "3.4.2",
"rollup": "4.29.1",
"rollup-plugin-postcss": "4.0.2",
"sass": "1.83.0",
"xo": "0.58.0"
}
}