-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
123 lines (123 loc) · 3.23 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "loupe",
"version": "0.0.0-development",
"description": "Inspect utility for Node.js and browsers",
"homepage": "https://github.com/chaijs/loupe",
"license": "MIT",
"author": "Veselin Todorov <[email protected]>",
"contributors": [
"Keith Cirkel (https://github.com/keithamus)"
],
"type": "module",
"main": "./lib/index.js",
"module": "./lib/index.js",
"browser": {
"./index.js": "./loupe.js",
"util": false
},
"repository": {
"type": "git",
"url": "https://github.com/chaijs/loupe"
},
"files": [
"loupe.js",
"lib/*"
],
"scripts": {
"bench": "node bench",
"lint": "eslint --ignore-path .gitignore .",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"test": "npm run test:node && npm run test:browser",
"pretest:browser": "npx playwright install && npm run build",
"test:browser": "wtr",
"pretest:node": "npm run build",
"test:node": "mocha",
"build": "npm run build:lib && npm run build:esm-bundle && npm run build:cjs-bundle",
"build:lib": "tsc",
"build:esm-bundle": "esbuild --bundle src/index.ts --outfile=loupe.js --format=esm",
"build:cjs-bundle": "esbuild --bundle src/index.ts --outfile=loupe.js --format=cjs",
"upload-coverage": "codecov"
},
"eslintConfig": {
"root": true,
"parserOptions": {
"ecmaVersion": 2020
},
"env": {
"es6": true
},
"plugins": [
"filenames",
"prettier"
],
"extends": [
"strict/es6"
],
"rules": {
"comma-dangle": "off",
"func-style": "off",
"no-magic-numbers": "off",
"class-methods-use-this": "off",
"array-bracket-spacing": "off",
"array-element-newline": "off",
"space-before-function-paren": "off",
"arrow-parens": "off",
"template-curly-spacing": "off",
"quotes": "off",
"generator-star-spacing": "off",
"prefer-destructuring": "off",
"no-mixed-operators": "off",
"id-blacklist": "off",
"curly": "off",
"semi": [
"error",
"never"
],
"prettier/prettier": [
"error",
{
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "avoid",
"bracketSpacing": true
}
]
}
},
"prettier": {
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "avoid",
"bracketSpacing": true
},
"devDependencies": {
"@web/dev-server-esbuild": "^0.4.2",
"@web/test-runner": "^0.17.2",
"@web/test-runner-playwright": "^0.10.1",
"benchmark": "^2.1.4",
"chai": "^5.0.0-alpha.0",
"codecov": "^3.8.1",
"core-js": "^3.8.3",
"cross-env": "^7.0.3",
"esbuild": "^0.19.5",
"eslint": "^7.18.0",
"eslint-config-strict": "^14.0.1",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^4.3.8",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"prettier": "^2.2.1",
"semantic-release": "^17.3.6",
"simple-assert": "^1.0.0",
"typescript": "^5.0.0-beta"
}
}