UNPKG

postcss-d-ts

Version:

PostCSS plugin to generate `.d.ts` of all used CSS classes and ids in imported stylesheets

110 lines (109 loc) 3.39 kB
{ "name": "postcss-d-ts", "version": "1.2.0", "description": "PostCSS plugin to generate `.d.ts` of all used CSS classes and ids in imported stylesheets", "homepage": "https://github.com/askirmas/postcss-d-ts#readme", "keywords": [ "css", "d.ts", "css-modules", "postcss-plugin", "typescript", "declare", "declarations", "sass" ], "author": { "email": "kirmas@phystech.edu", "name": "Andrii Kirmas", "url": "https://about.me/kirmas" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/askirmas/postcss-d-ts.git" }, "scripts": { "setup": "git config include.path ../.gitconfig && git-hooks-wrapper init", "dev": "npm run jest -- --watch --coverage=false", "test": "npm run build", "build": "npm run compile", "prebuild": "npm run t", "postbuild": "npm run spec && npm run docs", "compile": "tsc --project tsconfig.compile.json", "precompile": "rm -rf docs dist unpacked && mkdir docs", "postcompile": "./postcompile.sh", "spec": "cd __recipes__ && npm run build", "t": "npm run t/utils && npm run t/func && npm run t/tsc", "t/utils": "npm run jest -- --config jest.config.utils.json", "t/func": "npm run jest --", "t/tsc": "cd __unit__ && tsc && cd ../__func__ && tsc", "jest": "jest --runInBand --detectOpenHandles", "docs": "cd dist && find . -type f -iname '*.json' -exec cp {} ../docs/ \\;", "dev:n3": "cd __recipes__ && npm run dev:n3", "dev:n5": "cd __recipes__ && npm run dev:n5", "np": "np", "eslint": "eslint --fix .", "ci": "npm ci --prefer-offline --no-audit --silent --quiet --no-progress", "postci": "cd __recipes__ && npm run ci" }, "devDependencies": { "@logux/eslint-config": "^44.1.0", "@mysticatea/eslint-plugin": "^13.0.0", "@types/globby": "^9.1.0", "@types/jest": "^26.0.20", "@types/react": "^16.9.46", "@typescript-eslint/eslint-plugin": "^4.18.0", "bootstrap3": "npm:bootstrap@^3.4.1", "bootstrap4": "npm:bootstrap@^4.6.0", "eslint": "^7.22.0", "eslint-config-standard": "^16.0.2", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jest": "^24.3.2", "eslint-plugin-no-use-extend-native": "^0.5.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-optimize-regex": "^1.2.0", "eslint-plugin-prefer-let": "^1.1.0", "eslint-plugin-promise": "^4.2.1", "eslint-plugin-react": "^7.22.0", "eslint-plugin-security": "^1.4.0", "eslint-plugin-sonarjs": "^0.6.0", "eslint-plugin-standard": "^5.0.0", "eslint-plugin-unicorn": "^27.0.0", "git-hooks-wrapper": "^0.7.1", "globby": "^11.0.2", "jest": "^26.6.3", "material10": "npm:material-components-web@^10.0.0", "np": "^6.3.2", "npm-run-all": "^4.1.5", "postcss": "^7.0.35", "postcss8": "npm:postcss@^8.2.8", "ts-jest": "^26.5.0", "typescript": "^4.1.3" }, "peerDependencies": { "postcss": ">=7", "react-classnaming": "*" }, "engines": { "node": ">=10.0.0" }, "bugs": { "url": "https://github.com/askirmas/postcss-d-ts/labels/bug" }, "main": "dist/index.js", "types": "dist/", "publishConfig": { "access": "public" }, "np": { "yarn": false, "branch": "master", "2fa": false }, "files": [ "dist", "LICENSE" ], "dependencies": {} }