|
26 | 26 | ], |
27 | 27 | "scripts": { |
28 | 28 | "build": "rm -rf ./lib && tsc", |
29 | | - "lint": "eslint './src/**/*.{js,ts}' --max-warnings 0 && yarn prettier './**/*.{json,md,js,ts,yml}' -c", |
| 29 | + "lint": "eslint --max-warnings 0 . && yarn prettier -c .", |
30 | 30 | "prepublishOnly": "yarn build", |
31 | 31 | "test": "jest ./src" |
32 | 32 | }, |
|
42 | 42 | "src/**/*.{ts}" |
43 | 43 | ], |
44 | 44 | "preset": "ts-jest", |
| 45 | + "setupFiles": [ |
| 46 | + "<rootDir>/src/setup-tests.ts" |
| 47 | + ], |
45 | 48 | "testEnvironment": "node", |
46 | 49 | "testPathIgnorePatterns": [ |
47 | 50 | "/node_modules/", |
|
62 | 65 | "trailingComma": "all" |
63 | 66 | }, |
64 | 67 | "resolutions": { |
65 | | - "postcss": "7.0.27" |
| 68 | + "postcss": "8.3.0" |
66 | 69 | }, |
67 | 70 | "dependencies": { |
68 | | - "dotenv": "^8.2.0", |
69 | | - "icss-utils": "^4.1.1", |
70 | | - "less": "^3.11.1", |
| 71 | + "dotenv": "^10.0.0", |
| 72 | + "icss-utils": "^5.1.0", |
| 73 | + "less": "^4.1.1", |
71 | 74 | "lodash.camelcase": "^4.3.0", |
72 | | - "postcss": "^7.0.27", |
| 75 | + "postcss": "^8.3.0", |
73 | 76 | "postcss-filter-plugins": "^3.0.1", |
74 | 77 | "postcss-icss-keyframes": "^0.2.1", |
75 | 78 | "postcss-icss-selectors": "^2.0.3", |
76 | | - "postcss-load-config": "^2.1.0", |
| 79 | + "postcss-load-config": "^3.0.1", |
77 | 80 | "reserved-words": "^0.1.2", |
78 | | - "sass": "^1.26.5", |
79 | | - "stylus": "^0.54.7", |
| 81 | + "sass": "^1.32.13", |
| 82 | + "stylus": "^0.54.8", |
80 | 83 | "tsconfig-paths": "^3.9.0" |
81 | 84 | }, |
82 | 85 | "devDependencies": { |
83 | 86 | "@types/icss-utils": "^4.1.0", |
84 | | - "@types/jest": "^25.2.1", |
85 | | - "@types/less": "^3.0.1", |
| 87 | + "@types/jest": "^26.0.23", |
| 88 | + "@types/less": "^3.0.2", |
86 | 89 | "@types/lodash.camelcase": "^4.3.6", |
87 | 90 | "@types/node": "^12.12.17", |
88 | | - "@types/postcss-load-config": "^2.0.1", |
89 | | - "@types/postcss-nested": "^4.1.0", |
| 91 | + "@types/postcss-load-config": "^3.0.1", |
| 92 | + "@types/postcss-nested": "^4.2.3", |
90 | 93 | "@types/reserved-words": "^0.1.0", |
91 | 94 | "@types/sass": "^1.16.0", |
92 | | - "@types/stylus": "^0.48.33", |
93 | | - "@typescript-eslint/eslint-plugin": "^2.29.0", |
94 | | - "@typescript-eslint/parser": "^2.29.0", |
95 | | - "bootstrap": "4.4.1", |
96 | | - "eslint": "^6.8.0", |
97 | | - "eslint-config-prettier": "^6.11.0", |
| 95 | + "@types/stylus": "^0.48.34", |
| 96 | + "@typescript-eslint/eslint-plugin": "^4.25.0", |
| 97 | + "@typescript-eslint/parser": "^4.25.0", |
| 98 | + "bootstrap": "5.0.1", |
| 99 | + "eslint": "^7.27.0", |
| 100 | + "eslint-config-prettier": "^8.3.0", |
98 | 101 | "husky": "^4.2.5", |
99 | | - "jest": "^25.4.0", |
100 | | - "lint-staged": "^10.1.7", |
| 102 | + "jest": "^27.0.2", |
| 103 | + "lint-staged": "^11.0.0", |
101 | 104 | "postcss-import-sync2": "^1.1.0", |
102 | | - "prettier": "^2.0.5", |
| 105 | + "prettier": "^2.3.0", |
103 | 106 | "sass-svg": "1.2.0", |
104 | | - "ts-jest": "^25.4.0", |
105 | | - "typescript": "^3.8.3" |
| 107 | + "ts-jest": "^27.0.1", |
| 108 | + "typescript": "^4.3.2" |
106 | 109 | }, |
107 | 110 | "peerDependencies": { |
108 | 111 | "typescript": ">=3.0.0" |
|
0 commit comments