Skip to content

Commit

Permalink
Merge pull request #20 from gafreax/10-refactor-launchts
Browse files Browse the repository at this point in the history
10 refactor launchts
  • Loading branch information
gafreax authored Nov 12, 2024
2 parents a4f9cae + 8b05cac commit ba412a6
Show file tree
Hide file tree
Showing 17 changed files with 31,363 additions and 30,066 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bump-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "📦 Bump a new version"
file_pattern: "package.json package-lock.json"
file_pattern: package.json package-lock.json
tagging_message: "${{ env.version }}"
push_options: '--tags'
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,6 @@ parsedCSS.rules[0].declarations[0].setProperty('color', 'blue');
const optimizedCSS = cssparse.stringify(parsedCSS);
```

## Testing Functionality

To test the functionality of the CSS parser, you can launch the provided launch script:

```bash
ts-node src/launch.ts
```

This script will execute sample code that demonstrates the parser's capabilities.

## Contribution

We welcome contributions to this open-source project. If you encounter issues or have suggestions for improvement, please feel free to create GitHub issues or submit pull requests.
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
testMatch: ['<rootDir>/src/**/*.test.{js,ts}'],
testMatch: ['<rootDir>/tests/**/*.test.{js,ts}'],
transform: {
'^.+\\.tsx?$': 'ts-jest'
}
Expand Down
39 changes: 22 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"scripts": {
"build": "tsc",
"clean": "rimraf dist/",
"type-check": "tsc --noEmit",
"launch": "ts-node src/launch.ts",
"lint": "ts-standard --fix src/**/*.ts",
"prebuild": "npm run clean && npm run type-check",
"start": "ts-node src/launch.ts",
"lint": "ts-standard src/**/*.ts",
"lint:fix": "ts-standard --fix src/**/*.ts",
"prebuild": "npm run clean && ts-standard --fix src/**/*.ts",
"prepare": "npm run build",
"test": "jest"
},
Expand All @@ -19,7 +19,7 @@
"@types/clean-css": "^4.2.11",
"@types/jest": "^29.5.14",
"jest": "^29.7.0",
"mocha": "^10.7.3",
"mocha": "^10.8.2",
"rimraf": "^6.0.1",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
Expand All @@ -32,6 +32,6 @@
]
},
"dependencies": {
"clean-css": "^5.3.3"
"commander": "^12.1.0"
}
}
Loading

0 comments on commit ba412a6

Please sign in to comment.