1 | {
|
2 | "name": "svelte-preprocess",
|
3 | "version": "4.1.2",
|
4 | "license": "MIT",
|
5 | "main": "dist/index.js",
|
6 | "types": "dist/index.d.ts",
|
7 | "description": "A Svelte preprocessor wrapper with baked in support for common used preprocessors",
|
8 | "author": "Christian Kaisermann <christian@kaisermann.me>",
|
9 | "repository": "https://github.com/sveltejs/svelte-preprocess",
|
10 | "keywords": [
|
11 | "svelte",
|
12 | "preprocess",
|
13 | "less",
|
14 | "stylus",
|
15 | "sass",
|
16 | "scss",
|
17 | "pug",
|
18 | "coffeescript"
|
19 | ],
|
20 | "engines": {
|
21 | "node": ">= 9.11.2"
|
22 | },
|
23 | "files": [
|
24 | "dist/"
|
25 | ],
|
26 | "scripts": {
|
27 | "prebuild": "rm -rf dist/",
|
28 | "build": "tsc --build tsconfig.build.json",
|
29 | "dev": "npm run build -- -w",
|
30 | "test": "jest",
|
31 | "test:ci": "jest --silent --no-cache",
|
32 | "lint": "eslint --ext js,ts .",
|
33 | "format": "prettier --write \"**/*.{ts,js,json}\"",
|
34 | "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...\"",
|
35 | "version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1 && git add CHANGELOG.md",
|
36 | "prepublishOnly": "npm run test && npm run build"
|
37 | },
|
38 | "jest": {
|
39 | "collectCoverage": true,
|
40 | "collectCoverageFrom": [
|
41 | "<rootDir>/src/**/*.ts",
|
42 | "!<rootDir>/src/types/**/*.ts"
|
43 | ],
|
44 | "transform": {
|
45 | "^.+\\.tsx?$": "ts-jest"
|
46 | }
|
47 | },
|
48 | "husky": {
|
49 | "hooks": {
|
50 | "'pre-commit'": "lint-staged"
|
51 | }
|
52 | },
|
53 | "lint-staged": {
|
54 | "*.{ts,js,tsx,jsx}": [
|
55 | "eslint --fix",
|
56 | "prettier --write"
|
57 | ],
|
58 | "*.json": [
|
59 | "prettier --write"
|
60 | ]
|
61 | },
|
62 | "devDependencies": {
|
63 | "@babel/core": "^7.10.2",
|
64 | "@babel/preset-env": "^7.10.2",
|
65 | "@kiwi/eslint-config": "^1.2.0",
|
66 | "@kiwi/prettier-config": "^1.1.0",
|
67 | "@types/jest": "^25.2.3",
|
68 | "@types/node": "^14.0.11",
|
69 | "@types/node-sass": "^4.11.1",
|
70 | "@types/stylus": "^0.48.32",
|
71 | "autoprefixer": "^9.8.0",
|
72 | "babel-minify": "^0.5.1",
|
73 | "coffeescript": "^2.5.1",
|
74 | "conventional-changelog-cli": "^2.0.34",
|
75 | "eslint": "^6.0.0",
|
76 | "husky": "^4.2.5",
|
77 | "jest": "^25.0.0",
|
78 | "less": "^3.11.3",
|
79 | "lint-staged": "^10.2.9",
|
80 | "node-sass": "^4.14.1",
|
81 | "postcss": "^7.0.32",
|
82 | "postcss-easy-import": "^3.0.0",
|
83 | "postcss-load-config": "^2.1.0",
|
84 | "prettier": "^2.0.5",
|
85 | "pug": "^3.0.0",
|
86 | "sass": "^1.26.8",
|
87 | "stylus": "^0.54.7",
|
88 | "sugarss": "^2.0.0",
|
89 | "svelte": "^3.23.0",
|
90 | "ts-jest": "^25.1.0",
|
91 | "typescript": "^3.9.5"
|
92 | },
|
93 | "dependencies": {
|
94 | "@types/pug": "^2.0.4",
|
95 | "@types/sass": "^1.16.0",
|
96 | "detect-indent": "^6.0.0",
|
97 | "strip-indent": "^3.0.0"
|
98 | },
|
99 | "peerDependencies": {
|
100 | "@babel/core": "^7.10.2",
|
101 | "coffeescript": "^2.5.1",
|
102 | "less": "^3.11.3",
|
103 | "postcss": "^7.0.32",
|
104 | "postcss-load-config": "^2.1.0",
|
105 | "pug": "^3.0.0",
|
106 | "sass": "^1.26.8",
|
107 | "stylus": "^0.54.7",
|
108 | "svelte": "^3.23.0",
|
109 | "typescript": "^3.9.5"
|
110 | },
|
111 | "peerDependenciesMeta": {
|
112 | "@babel/core": {
|
113 | "optional": true
|
114 | },
|
115 | "coffeescript": {
|
116 | "optional": true
|
117 | },
|
118 | "less": {
|
119 | "optional": true
|
120 | },
|
121 | "node-sass": {
|
122 | "optional": true
|
123 | },
|
124 | "postcss": {
|
125 | "optional": true
|
126 | },
|
127 | "postcss-load-config": {
|
128 | "optional": true
|
129 | },
|
130 | "pug": {
|
131 | "optional": true
|
132 | },
|
133 | "sass": {
|
134 | "optional": true
|
135 | },
|
136 | "stylus": {
|
137 | "optional": true
|
138 | },
|
139 | "svelte": {
|
140 | "optional": true
|
141 | },
|
142 | "typescript": {
|
143 | "optional": true
|
144 | }
|
145 | }
|
146 | }
|