|
1 | 1 | {
|
2 | 2 | "name": "typescript-plugin-css-modules",
|
3 | 3 | "version": "3.4.0",
|
4 |
| - "main": "lib/index.js", |
| 4 | + "main": "dist/index.js", |
5 | 5 | "author": "Brody McKee <[email protected]>",
|
6 | 6 | "license": "MIT",
|
7 | 7 | "description": "CSS modules support for TypeScript",
|
8 | 8 | "homepage": "https://github.com/mrmckeb/typescript-plugin-css-modules",
|
| 9 | + "packageManager": "[email protected]", |
9 | 10 | "repository": {
|
10 | 11 | "type": "git",
|
11 | 12 | "url": "https://github.com/mrmckeb/typescript-plugin-css-modules"
|
|
22 | 23 | "typescript"
|
23 | 24 | ],
|
24 | 25 | "files": [
|
25 |
| - "lib" |
| 26 | + "dist" |
26 | 27 | ],
|
27 | 28 | "scripts": {
|
28 |
| - "build": "rm -rf ./lib && tsc", |
29 |
| - "lint": "eslint --max-warnings 0 . && yarn prettier -c .", |
30 |
| - "prepublishOnly": "yarn build", |
31 |
| - "test": "jest" |
32 |
| - }, |
33 |
| - "husky": { |
34 |
| - "hooks": { |
35 |
| - "pre-commit": "lint-staged", |
36 |
| - "pre-push": "yarn test" |
37 |
| - } |
38 |
| - }, |
39 |
| - "jest": { |
40 |
| - "clearMocks": true, |
41 |
| - "collectCoverageFrom": [ |
42 |
| - "src/**/*.{ts}" |
43 |
| - ], |
44 |
| - "preset": "ts-jest", |
45 |
| - "setupFiles": [ |
46 |
| - "<rootDir>/src/setup-tests.ts" |
47 |
| - ], |
48 |
| - "testEnvironment": "node", |
49 |
| - "testPathIgnorePatterns": [ |
50 |
| - "/node_modules/", |
51 |
| - "/fixtures/" |
52 |
| - ] |
| 29 | + "build": "rm -rf ./dist && tsc --project tsconfig.build.json", |
| 30 | + "lint": "eslint --max-warnings 0 . && pnpm prettier -c .", |
| 31 | + "prepublishOnly": "pnpm build", |
| 32 | + "test": "jest", |
| 33 | + "prepare": "husky install" |
53 | 34 | },
|
54 | 35 | "lint-staged": {
|
55 | 36 | "./src/**/*.ts": [
|
|
64 | 45 | "singleQuote": true,
|
65 | 46 | "trailingComma": "all"
|
66 | 47 | },
|
67 |
| - "resolutions": { |
68 |
| - "postcss": "8.3.0" |
69 |
| - }, |
70 | 48 | "dependencies": {
|
71 |
| - "dotenv": "^10.0.0", |
| 49 | + "dotenv": "^16.0.3", |
72 | 50 | "icss-utils": "^5.1.0",
|
73 |
| - "less": "^4.1.1", |
| 51 | + "less": "^4.1.3", |
74 | 52 | "lodash.camelcase": "^4.3.0",
|
75 |
| - "postcss": "^8.3.0", |
| 53 | + "postcss": "^8.4.19", |
76 | 54 | "postcss-filter-plugins": "^3.0.1",
|
77 | 55 | "postcss-icss-keyframes": "^0.2.1",
|
78 | 56 | "postcss-icss-selectors": "^2.0.3",
|
79 |
| - "postcss-load-config": "^3.0.1", |
| 57 | + "postcss-load-config": "^3.1.4", |
80 | 58 | "reserved-words": "^0.1.2",
|
81 |
| - "sass": "^1.32.13", |
82 |
| - "source-map-js": "^0.6.2", |
83 |
| - "stylus": "^0.54.8", |
84 |
| - "tsconfig-paths": "^3.9.0" |
| 59 | + "sass": "^1.56.1", |
| 60 | + "source-map-js": "^1.0.2", |
| 61 | + "stylus": "^0.59.0", |
| 62 | + "tsconfig-paths": "^4.1.1" |
85 | 63 | },
|
86 | 64 | "devDependencies": {
|
87 |
| - "@types/icss-utils": "^4.1.0", |
88 |
| - "@types/jest": "^26.0.23", |
89 |
| - "@types/less": "^3.0.2", |
90 |
| - "@types/lodash.camelcase": "^4.3.6", |
91 |
| - "@types/node": "^12.12.17", |
92 |
| - "@types/postcss-load-config": "^3.0.1", |
93 |
| - "@types/postcss-nested": "^4.2.3", |
| 65 | + "@types/icss-utils": "^5.1.0", |
| 66 | + "@types/jest": "^29.2.3", |
| 67 | + "@types/less": "^3.0.3", |
| 68 | + "@types/lodash.camelcase": "^4.3.7", |
| 69 | + "@types/node": "^18.11.10", |
94 | 70 | "@types/reserved-words": "^0.1.0",
|
95 |
| - "@types/sass": "^1.16.0", |
96 |
| - "@types/stylus": "^0.48.34", |
97 |
| - "@typescript-eslint/eslint-plugin": "^4.25.0", |
98 |
| - "@typescript-eslint/parser": "^4.25.0", |
99 |
| - "bootstrap": "5.0.1", |
100 |
| - "eslint": "^7.27.0", |
101 |
| - "eslint-config-prettier": "^8.3.0", |
102 |
| - "husky": "^4.2.5", |
103 |
| - "jest": "^27.0.2", |
104 |
| - "lint-staged": "^11.0.0", |
105 |
| - "postcss-import-sync2": "^1.1.0", |
106 |
| - "prettier": "^2.3.0", |
107 |
| - "sass-svg": "1.2.0", |
108 |
| - "ts-jest": "^27.0.1", |
109 |
| - "typescript": "^4.3.2" |
| 71 | + "@types/sass": "^1.43.1", |
| 72 | + "@types/stylus": "^0.48.38", |
| 73 | + "@typescript-eslint/eslint-plugin": "^5.45.0", |
| 74 | + "@typescript-eslint/parser": "^5.45.0", |
| 75 | + "bootstrap": "^5.2.3", |
| 76 | + "eslint": "^8.29.0", |
| 77 | + "eslint-config-prettier": "^8.5.0", |
| 78 | + "husky": "^8.0.2", |
| 79 | + "jest": "^29.3.1", |
| 80 | + "jest-environment-node-single-context": "^29.0.0", |
| 81 | + "lint-staged": "^13.0.3", |
| 82 | + "postcss-import-sync2": "^1.2.0", |
| 83 | + "postcss-nested": "^4.2.3", |
| 84 | + "prettier": "^2.8.0", |
| 85 | + "sass-svg": "^1.2.0", |
| 86 | + "ts-jest": "^29.0.3", |
| 87 | + "typescript": "^4.9.3" |
110 | 88 | },
|
111 | 89 | "peerDependencies": {
|
112 |
| - "typescript": ">=3.0.0" |
| 90 | + "typescript": ">=3.9.0" |
| 91 | + }, |
| 92 | + "pnpm": { |
| 93 | + "peerDependencyRules": { |
| 94 | + "ignoreMissing": [ |
| 95 | + "@popperjs/core", |
| 96 | + "node-sass" |
| 97 | + ] |
| 98 | + } |
113 | 99 | }
|
114 | 100 | }
|
0 commit comments