-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
127 lines (127 loc) · 3.49 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
124
125
126
127
{
"name": "sass-lint-auto-fix",
"version": "0.21.2",
"description": "Automatically resolve sass-linting issues through CLI",
"main": "./dist/sass-lint-auto-fix.js",
"bin": {
"sass-lint-auto-fix": "./dist/index.js"
},
"scripts": {
"test": "jest --verbose --coverage --no-watchman --runInBand",
"test:watch": "jest --watch",
"test:prod": "yarn lint && yarn test -- --coverage --no-cache",
"coverage": "open ./coverage/lcov-report/index.html",
"tsc": "tsc --noEmit -p ./tsconfig.json",
"format:src": "find ./src/ -name '*.ts*' | xargs prettier --write --config ./.prettierrc --config-precedence file-override",
"format:test": "find ./test/ -name '*.ts*' | xargs prettier --write --config ./.prettierrc --config-precedence file-override",
"lint": "tslint --project .",
"lint:fix": "tslint --project . --fix",
"prebuild": "rm -rf dist/",
"build": "yarn build:ts && yarn build:chmod && yarn build:config",
"build:ts": "tsc -p ./tsconfig-build.json",
"build:chmod": "chmod +x dist/index.js",
"build:config": "cp -r src/config dist",
"docs": "typedoc src --out docs --ignoreCompilerErrors --mode file --theme minimal",
"semantic-release": "semantic-release"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint && yarn tsc",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"src/**/*.ts": [
"yarn lint:fix",
"yarn format:src",
"git add"
],
"test/**/*.ts": [
"yarn lint:fix",
"yarn format:test",
"git add"
]
},
"repository": {
"type": "git",
"url": "https://github.com/srowhani/sass-lint-auto-fix.git"
},
"bugs": {
"url": "https://github.com/srowhani/sass-lint-auto-fix/issues"
},
"files": [
"dist"
],
"homepage": "https://github.com/srowhani/sass-lint-auto-fix#README.md",
"author": "Seena Rowhani (srowhani)",
"license": "MIT",
"dependencies": {
"@sentry/node": "^5.7.0",
"chalk": "^3.0.0",
"commander": "^6.1.0",
"cosmiconfig": "^6.0.0",
"glob": "^7.1.4",
"gonzales-pe-sl": "github:srowhani/gonzales-pe#dev",
"sass-lint": "^1.13.1",
"merge": "^1.2.1"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@semantic-release/git": "^9.0.0",
"@types/jest": "^26.0.3",
"@types/js-yaml": "^3.12.1",
"@types/node": "^14.0.4",
"coveralls": "^3.0.0",
"husky": "^3.1.0",
"jest": "^24.0.0",
"lint-staged": "^9.4.3",
"prettier": "^2.1.1",
"semantic-release": "^17.0.4",
"ts-jest": "^26.0.0",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"typedoc": "^0.16.10",
"typescript": "^3.6.4"
},
"jest": {
"moduleFileExtensions": [
"js",
"jsx",
"json",
"ts",
"tsx"
],
"transform": {
"\\.(ts|tsx)$": "ts-jest"
},
"moduleNameMapper": {
"@src/(.*)": "<rootDir>/src/$1",
"@test/(.*)": "<rootDir>/test/$1"
},
"testRegex": "(/test/src/.*|(\\.|/)(test|spec))\\.ts$",
"coveragePathIgnorePatterns": [
"dist",
"/node_modules/",
"test"
]
},
"release": {
"verifyConditions": [
"@semantic-release/npm",
"@semantic-release/git",
"@semantic-release/github"
],
"prepare": [
"@semantic-release/npm",
{
"path": "@semantic-release/git",
"assets": [
"package.json",
"package-lock.json"
]
}
]
}
}