This repository has been archived by the owner on Aug 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
87 lines (87 loc) · 2.26 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
{
"name": "@qiniu/typed-less-modules",
"version": "0.1.2",
"description": "TypeScript type definition generator for LESS CSS Modules",
"main": "index.js",
"license": "Apache",
"repository": {
"type": "git",
"url": "https://github.com/qiniu/typed-less-modules"
},
"homepage": "https://github.com/qiniu/typed-less-modules#readme",
"keywords": [
"less",
"less modules",
"cli",
"typescript",
"type generator",
"less modules"
],
"scripts": {
"test": "jest",
"tlm": "ts-node ./lib/cli.ts",
"clean": "rm -rf ./dist",
"build": "yarn clean && tsc && chmod +x dist/lib/cli.js",
"prepare": "yarn build",
"check-types": "tsc --noEmit",
"format": "prettier --write '**/*.{js,json,css,md,less,tsx,ts}'",
"check-formatting": "prettier --check '**/*.{js,json,css,md,less,tsx,ts}'",
"codecov": "codecov",
"commit": "commit",
"ci": "yarn check-types && yarn check-formatting && yarn test"
},
"files": [
"dist/lib"
],
"bin": {
"tlm": "./dist/lib/cli.js"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@commitlint/prompt-cli": "^8.2.0",
"@commitlint/travis-cli": "^8.2.0",
"@types/camelcase": "^4.1.0",
"@types/css-modules-loader-core": "^1.1.0",
"@types/glob": "^7.1.1",
"@types/jest": "^24.0.0",
"@types/less": "^3.0.1",
"@types/param-case": "^1.1.2",
"@types/reserved-words": "^0.1.0",
"@types/yargs": "^12.0.8",
"codecov": "^3.7.0",
"husky": "^1.3.1",
"jest": "23.6.0",
"lint-staged": "^8.1.3",
"prettier": "^1.16.4",
"semantic-release": "^15.13.31",
"ts-jest": "^23.10.5",
"ts-node": "^8.0.2",
"typescript": "^3.3.3"
},
"dependencies": {
"camelcase": "^5.0.0",
"chalk": "^3.0.0",
"chokidar": "^3.3.0",
"css-modules-loader-core": "^1.1.0",
"glob": "^7.1.6",
"less": "^3.11.0",
"param-case": "^3.0.2",
"path": "^0.12.7",
"reserved-words": "^0.1.2",
"slash": "^3.0.0",
"yargs": "^15.0.2"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,json,css,md,less,tsx,ts}": [
"prettier --write",
"git add"
]
}
}