-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 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
{
"name": "@ericcarraway/css-classname-hash",
"author": "Eric Carraway",
"version": "0.0.4",
"description": "opinionated string hashing function for minifying CSS class names in Node.js, intended for use in front-end build systems",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"files": [
"dist"
],
"engines": {
"node": ">=10"
},
"scripts": {
"analyze": "size-limit --why",
"build": "bash scripts/build.sh",
"clear_jest": "jest --clearCache",
"lint": "echo TODO: re-enable linting",
"pre-publish": "bash scripts/pre-publish.sh",
"prettier": "prettier \"./**/*.{ts,js}\" --write",
"shipit": "bash ./scripts/publish.sh",
"size": "size-limit",
"test": "npx jest",
"prepare": "husky install"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint && npm run test"
}
},
"prettier": {
"printWidth": 80,
"quoteProps": "consistent",
"semi": true,
"singleQuote": true,
"trailingComma": "all"
},
"size-limit": [
{
"path": "dist/index.js",
"limit": "185 KB"
}
],
"devDependencies": {
"@size-limit/preset-small-lib": "^5.0.5",
"@tsconfig/node14": "^1.0.1",
"@types/jest": "^27.4.0",
"husky": "^7.0.4",
"jest": "^27.5.0",
"prettier": "^2.5.1",
"size-limit": "^5.0.5",
"ts-jest": "^27.1.3",
"ts-loader": "^9.2.6",
"tslib": "^2.3.1",
"typescript": "^4.5.5"
},
"jest": {
"preset": "ts-jest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ericcarraway/css-classname-hash.git"
},
"bugs": {
"url": "https://github.com/ericcarraway/css-classname-hash/issues"
},
"homepage": "https://github.com/ericcarraway/css-classname-hash#readme"
}