forked from sveltejs/svelte-preprocess
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
164 lines (164 loc) · 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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
{
"name": "svelte-preprocess",
"version": "4.10.2",
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"description": "A Svelte preprocessor wrapper with baked-in support for commonly used preprocessors",
"author": "Christian Kaisermann <christian@kaisermann.me>",
"repository": "https://github.com/sveltejs/svelte-preprocess",
"keywords": [
"svelte",
"preprocess",
"less",
"stylus",
"sass",
"scss",
"pug",
"coffeescript"
],
"engines": {
"node": ">= 9.11.2"
},
"volta": {
"node": "14.18.2"
},
"files": [
"dist/"
],
"scripts": {
"prebuild": "rm -rf dist/",
"build": "tsc --build tsconfig.build.json",
"dev": "npm run build -- -w",
"test": "jest",
"lint": "eslint --ext js,ts .",
"format": "prettier --write \"**/*.{ts,js,json}\"",
"postinstall": "echo \"[svelte-preprocess] Don't forget to install the preprocessors packages that will be used: node-sass/sass, stylus, less, postcss & postcss-load-config, coffeescript, pug, etc...\"",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1 && git add CHANGELOG.md",
"patch": "npm version patch -m 'chore(release): %s'",
"minor": "npm version minor -m 'chore(release): %s'",
"major": "npm version major -m 'chore(release): %s'",
"prepublishOnly": "npm run test && npm run build"
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"<rootDir>/src/**/*.ts",
"!<rootDir>/src/types/**/*.ts"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "tsc --noEmit",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"post-merge": "yarn"
}
},
"lint-staged": {
"*.{ts,js,tsx,jsx}": [
"eslint --fix",
"prettier --write"
],
"*.json": [
"prettier --write"
]
},
"devDependencies": {
"@babel/core": "^7.10.2",
"@babel/preset-env": "^7.10.2",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@kiwi/eslint-config": "^1.18.1",
"@kiwi/prettier-config": "^1.18.1",
"@types/jest": "^27.0.2",
"@types/node": "^14.0.11",
"@types/node-sass": "^4.11.1",
"@types/stylus": "^0.48.32",
"autoprefixer": "^9.8.0",
"babel-minify": "^0.5.1",
"coffeescript": "^2.5.1",
"conventional-changelog-cli": "^2.0.34",
"eslint": "^7.32.0",
"husky": "^4.2.5",
"jest": "^27.2.4",
"less": "^3.11.3",
"lint-staged": "^10.5.3",
"node-sass": "^4.14.1",
"postcss": "^8",
"postcss-easy-import": "^3.0.0",
"postcss-load-config": "^3.0.0",
"prettier": "^2.4.1",
"pug": "^3.0.0",
"sass": "^1.26.8",
"stylus": "^0.55.0",
"sugarss": "^2.0.0",
"svelte": "^3.42.0",
"ts-jest": "^27.0.5",
"typescript": "^4.4.2"
},
"dependencies": {
"@types/pug": "^2.0.4",
"@types/sass": "^1.16.0",
"detect-indent": "^6.0.0",
"magic-string": "^0.25.7",
"sorcery": "^0.10.0",
"strip-indent": "^3.0.0"
},
"peerDependencies": {
"@babel/core": "^7.10.2",
"coffeescript": "^2.5.1",
"less": "^3.11.3 || ^4.0.0",
"postcss": "^7 || ^8",
"postcss-load-config": "^2.1.0 || ^3.0.0",
"pug": "^3.0.0",
"sass": "^1.26.8",
"stylus": "^0.55.0",
"sugarss": "^2.0.0",
"svelte": "^3.23.0",
"typescript": "^4.5.2"
},
"peerDependenciesMeta": {
"@babel/core": {
"optional": true
},
"coffeescript": {
"optional": true
},
"less": {
"optional": true
},
"node-sass": {
"optional": true
},
"postcss": {
"optional": true
},
"postcss-load-config": {
"optional": true
},
"pug": {
"optional": true
},
"sass": {
"optional": true
},
"stylus": {
"optional": true
},
"sugarss": {
"optional": true
},
"typescript": {
"optional": true
}
}
}