|
56 | 56 | "figma-connect-unpublish": "npx figma connect unpublish --token=$FIGMA_CODE_CONNECT_TOKEN", |
57 | 57 | "figma-connect-unpublish-local": "dotenv -- npm run figma-connect-unpublish", |
58 | 58 | "lint": "npm run lint:js && npm run stylelint", |
| 59 | + "prelint-ci": "echo \"##teamcity[importData type='jslint' path='eslint-report.xml']\"", |
| 60 | + "lint-ci": "eslint --format jslint-xml . > eslint-report.xml && npm run stylelint-ci", |
59 | 61 | "lint:js": "eslint", |
60 | 62 | "postbuild": "cpy './**/*.d.ts' ../dist --parents --cwd=components/", |
61 | 63 | "postinstall": "husky && npm run postinstall:gitconfig", |
|
79 | 81 | "start": "storybook dev -p 9999", |
80 | 82 | "storybook-debug": "node --inspect-brk node_modules/@storybook/react/bin -p 9999", |
81 | 83 | "stylelint": "stylelint --ignore-path .stylelintignore '**/*.css'", |
| 84 | + "stylelint-ci": "stylelint --ignore-path .stylelintignore --custom-formatter 'scripts/jslint-xml.js' '**/*.css' | xmlappend eslint-report.xml", |
82 | 85 | "test": "vitest src", |
83 | 86 | "type-check": "(npm run type-check:create-d-ts && npm run type-check:main && npm run type-check:build) ; npm run type-check:cleanup-d-ts", |
84 | 87 | "type-check:create-d-ts": "npx tcm src && npx tcm .storybook", |
85 | 88 | "type-check:main": "tsc --noEmit -p tsconfig.json", |
86 | 89 | "type-check:build": "tsc --noEmit -p tsconfig-build.json", |
87 | 90 | "type-check:cleanup-d-ts": "rimraf src/**/*.css.d.ts .storybook/*.css.d.ts .storybook/**/*.css.d.ts", |
| 91 | + "type-check-ci": "node scripts/tsc-teamcity", |
88 | 92 | "update-styles": "node scripts/update-styles.mjs", |
89 | 93 | "validate-tc-config": "mvn --file .teamcity/pom.xml org.jetbrains.teamcity:teamcity-configs-maven-plugin:generate -e" |
90 | 94 | }, |
|
140 | 144 | "dotenv-cli": "^11.0.0", |
141 | 145 | "eslint": "^10.0.1", |
142 | 146 | "eslint-config-prettier": "^10.1.8", |
| 147 | + "eslint-formatter-jslint-xml": "^8.40.0", |
143 | 148 | "eslint-import-resolver-exports": "^1.0.0-beta.5", |
144 | 149 | "eslint-import-resolver-typescript": "^4.4.4", |
145 | 150 | "eslint-import-resolver-webpack": "^0.13.10", |
|
0 commit comments