{"id":26930590,"url":"https://github.com/therockstorm/skripts","last_synced_at":"2025-04-02T06:29:40.979Z","repository":{"id":38427929,"uuid":"172735301","full_name":"therockstorm/skripts","owner":"therockstorm","description":"CLI for project scripts and configuration.","archived":false,"fork":false,"pushed_at":"2024-09-26T18:01:35.000Z","size":754,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T09:48:43.805Z","etag":null,"topics":["cli","configuration","configuration-files","configuration-management","kcd-scripts","react-scripts","scripts","serverless","skripts","typescript"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/therockstorm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-26T15:12:31.000Z","updated_at":"2021-02-06T22:03:42.000Z","dependencies_parsed_at":"2024-06-21T05:48:01.991Z","dependency_job_id":"e66dfcf7-1210-4f87-9a20-bdd50f90e81f","html_url":"https://github.com/therockstorm/skripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therockstorm%2Fskripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therockstorm%2Fskripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therockstorm%2Fskripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/therockstorm%2Fskripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/therockstorm","download_url":"https://codeload.github.com/therockstorm/skripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246766951,"owners_count":20830388,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","configuration","configuration-files","configuration-management","kcd-scripts","react-scripts","scripts","serverless","skripts","typescript"],"created_at":"2025-04-02T06:29:40.456Z","updated_at":"2025-04-02T06:29:40.970Z","avatar_url":"https://github.com/therockstorm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📜 skripts 📜\n\nCLI for project scripts and configuration inspired by [react-scripts](https://github.com/facebook/create-react-app/tree/master/packages/react-scripts) and [kcd-scripts](https://github.com/kentcdodds/kcd-scripts) to prevent you from making the same modifications to every project you work on.\n\n## Usage\n\nRun `npm install --save-dev skripts` to install the CLI.\n\n```\nUsage: skripts [command] [options]\nCommands:\n  format\n  lint\n  pre-commit\n  test\nOptions:\n  Script-dependent, the args you pass will be forwarded to the respective tool.\n```\n\nUse it in your `package.json` file:\n\n```javascript\n{\n  ...\n  \"scripts\": {\n    \"format\": \"skripts format\"\n    \"lint\": \"skripts lint --fix\",\n    \"test\": \"skripts jest\"\n  },\n  \"husky\": {\n    \"hooks\": {\n      \"pre-commit\": \"skripts pre-commit\"\n    }\n  }\n  ...\n}\n```\n\n### Overriding Config\n\nUnlike `react-scripts`, you can override `skripts` configuration. This enables editor integration for tools that require local configuration like `eslint`:\n\n```yaml\n# In your eslint.yml file\nextends: [\"./node_modules/skripts/eslint.js\"]\n```\n\nAnd TypeScript:\n\n```json\n// In your tsconfig.json file\n{\n  \"extends\": \"./node_modules/skripts/base-tsconfig.json\",\n  \"include\": [\"src\"]\n}\n```\n\nAnd prevents boilerplate for things like [Serverless Framework](https://serverless.com/):\n\n```javascript\n// In your serverless.js file\nconst { serverless } = require(\"skripts/config\")\n\nmodule.exports = {\n  ...serverless,\n  functions: {\n    myFunction: {\n      handler: \"src/handler.handle\",\n      events: [{ http: \"POST /\" }],\n    },\n  },\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftherockstorm%2Fskripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftherockstorm%2Fskripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftherockstorm%2Fskripts/lists"}