Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5efdad0b6b | ||
|
|
1500b39d92 | ||
|
|
da424119c8 |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "react-crafter",
|
"name": "react-crafter",
|
||||||
"version": "1.0.4",
|
"version": "1.1.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "react-crafter",
|
"name": "react-crafter",
|
||||||
"version": "1.0.4",
|
"version": "1.1.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"chalk": "^4.1.0",
|
"chalk": "^4.1.0",
|
||||||
"commander": "^7.2.0",
|
"commander": "^7.2.0",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "react-crafter",
|
"name": "react-crafter",
|
||||||
"version": "1.0.4",
|
"version": "1.1.0",
|
||||||
"description": "A CLI tool to quickly scaffold a React application with TypeScript, Ant Design, Sass, Webpack, and essential development tools like Husky and linters pre-configured. Perfect for kickstarting modern React projects with best practices.",
|
"description": "A CLI tool to quickly scaffold a React application with TypeScript, Ant Design, Sass, Webpack, and essential development tools like Husky and linters pre-configured. Perfect for kickstarting modern React projects with best practices.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
@@ -27,6 +27,7 @@
|
|||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node index.js",
|
"start": "node index.js",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
|
"publish": "node release.js",
|
||||||
"lint:prettier": "node check-format.js",
|
"lint:prettier": "node check-format.js",
|
||||||
"pretty-quick": "pretty-quick",
|
"pretty-quick": "pretty-quick",
|
||||||
"prettier": "prettier --write . --config .prettierrc",
|
"prettier": "prettier --write . --config .prettierrc",
|
||||||
|
|||||||
@@ -42,8 +42,8 @@ async function run() {
|
|||||||
execSync('git push origin master --follow-tags', { stdio: 'inherit' });
|
execSync('git push origin master --follow-tags', { stdio: 'inherit' });
|
||||||
|
|
||||||
// Publish the package
|
// Publish the package
|
||||||
//console.log(chalk.blue('Publishing the package to npm...'));
|
console.log(chalk.blue('Publishing the package to npm...'));
|
||||||
//execSync('npm publish', { stdio: 'inherit' });
|
execSync('npm publish', { stdio: 'inherit' });
|
||||||
|
|
||||||
console.log(
|
console.log(
|
||||||
chalk.green(`🚀 Successfully released a new ${versionType} version!`)
|
chalk.green(`🚀 Successfully released a new ${versionType} version!`)
|
||||||
|
|||||||
Reference in New Issue
Block a user