-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
57 lines (57 loc) · 1.4 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
{
"version": "0.1.0",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=20"
},
"scripts": {
"analyze": "size-limit --why",
"build": "tsc --project tsconfig.json",
"check-prettier": "prettier src test --check",
"cover": "cross-env NODE_ENV=test npx nyc --reporter=lcov npm t",
"prettier": "prettier src test --write",
"size": "size-limit",
"test": "cross-env NODE_ENV=test npx mocha --require ts-node/register --extensions ts,tsx test/* --test",
"watch": "tsc --project tsconfig.json --watch"
},
"husky": {
"hooks": {
"pre-commit": "npm run build && npm run prettier && npm run size && npm test"
}
},
"prettier": {
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"name": "@anephenix/measure",
"author": "Paul Jensen",
"size-limit": [
{
"path": "dist/index.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@size-limit/esbuild-why": "^11.1.6",
"@size-limit/preset-small-lib": "^11.1.6",
"@types/mocha": "^10.0.9",
"cross-env": "^7.0.3",
"husky": "^9.1.6",
"mocha": "^10.7.3",
"mocha-lcov-reporter": "^1.3.0",
"nyc": "^17.1.0",
"prettier": "^3.3.3",
"size-limit": "^11.1.4",
"ts-node": "^10.9.2",
"tslib": "^2.8.0",
"typescript": "^5.6.3"
}
}