@decaf-ts/styles
Version:
template for ts projects
93 lines (92 loc) • 4.39 kB
JSON
{
"name": "@decaf-ts/styles",
"version": "0.1.0",
"description": "template for ts projects",
"main": "./dist/main.min.css",
"style": "./dist/main.min.css",
"sass": "./src/main.scss",
"type": "module",
"exports": {
"./dist/*": {
"style": "./dist/*",
"sass": "./src/*"
},
"./package.json": {
"default": "./package.json"
}
},
"license": "MIT",
"files": [
"src",
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/decaf-ts/styles.git"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
},
"scripts": {
"do-install": "NPM_TOKEN=$(cat .npmtoken) npm install",
"update-dependencies": "PREFIX=\"decaf-ts\"; npm ls | grep \"$PREFIX\" | awk -F/ '{print $NF}' | sed 's/@.*//' | xargs -I package npm update @\"$PREFIX\"/package",
"update-scripts": "npx update-scripts",
"on-first-run": "npx update-scripts --boot",
"set-git-auth": "git config url.\"https://api:$(cat .token)@github.com/\".insteadOf \"https://github.com/\" && git config url.\"https://ssh:$(cat .token)@github.com/\".insteadOf \"ssh://git@github.com/\" && git config url.\"https://git:$(cat .token)@github.com/\".insteadOf \"git@github.com:\"",
"flash-forward": "npx npm-check-updates -u && npm run do-install",
"reset": "rm -rf * && git checkout . && git pull && npm run do-install",
"build": "node ./bin/build.js",
"watch": "node bin/watch.js",
"build:prod": "node ./bin/build.js --prod",
"test": "jest --runInBand --coverage --detectOpenHandles",
"test:all": "jest --testPathPattern=\"/tests\" --passWithNoTests --detectOpenHandles",
"test:circular": "dpdm -T --no-warning --no-tree ./src/index.ts",
"coverage": "rimraf ./workdocs/reports/data/*.json && npm run test:all -- --coverage --config=./workdocs/reports/jest.coverage.config.ts",
"lint": "eslint .",
"lint-fix": "eslint --fix .",
"prepare-pr": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
"prepare-release": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
"release": "./bin/tag-release.sh",
"clean-publish": "npx clean-publish",
"drawings": "for FILE in workdocs/drawings/*.drawio; do echo \"converting $FILE to image...\" && docker run --rm -v $(pwd):/data rlespinasse/drawio-export --format png $FILE; done && cp -rf workdocs/drawings/export/* workdocs/resources/",
"uml": "cd workdocs/uml && for FILE in ./*.puml; do docker run --rm -v $(pwd):/work -w /work miy4/plantuml -DPLANTUML_LIMIT_SIZE=8192 -tpng $FILE; done && cd ../.. && cp -fr workdocs/uml/*.png workdocs/resources/",
"docs": "npx rimraf ./docs && mkdir docs && npx build-scripts --docs",
"publish-docs": "docker run -it --rm --user $(id -u):$(id -g) -v \"$(pwd)/workdocs/confluence:/content\" -e ATLASSIAN_API_TOKEN=$(cat .confluence-token) ghcr.io/markdown-confluence/publish:latest",
"link": "npm run unlink && npm run build:prod && cd lib && npm link && npm ls -g --depth=0 --link=true && cd ..",
"unlink": "npm rm --global @decaf-ts/styles && npm ls -g --depth=0 --link=true",
"repo:init": "codex exec \"$(cat ./.codex/prompts/repo-setup.md)\nbase_path is `./`, initialize the repository\"",
"repo:setup": "codex exec \"$(cat ./.codex/prompts/repo-setup.md)\nbase_path is ./\"",
"repo:doc": "codex exec \"$(cat ./.codex/prompts/doc.md) $(cat ./.codex/prompts/bulk-docs.md)\nbase_path is ./\"",
"repo:tests": "codex exec \"$(cat ./.codex/prompts/bulk-tests.md)\nbase_path is ./ and coverage is 95%\" -s workspace-write",
"repo:readme": "codex exec \"$(cat ./.codex/prompts/update-readme.md)\nbase_path is ./\"",
"repo:pr": "npm run repo:doc && npm run repo:tests && npm run repo:readme",
"sync-codex": "./bin/sync-codex.sh"
},
"keywords": [
"styles",
"sass",
"scss",
"css",
"themes",
"design-systems",
"decaf",
"frontend",
"typescript",
"build"
],
"author": "Tiago Venceslau and Contributors",
"bugs": {
"url": "https://github.com/decaf-ts/styles/issues"
},
"homepage": "https://github.com/decaf-ts/styles#readme",
"devDependencies": {
"@decaf-ts/utils": "latest",
"autoprefixer": "^10.4.21",
"chokidar": "^4.0.3",
"cssnano": "^7.1.1",
"postcss": "^8.5.6",
"postcss-cli": "^11.0.1",
"sass": "^1.92.1"
}
}