Skip to content

Commit

Permalink
♻️ improve scripts naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Yago committed Aug 12, 2020
1 parent 93ca4d2 commit a657d51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .bin/next.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ const srcd = path.join(path.dirname(__filename), '..');
const cwd = process.cwd();

console.log('Copying file...');
fs.copySync(`${srcd}/playground/*`, `${cwd}`);
fs.copySync(`${srcd}/playground`, `${cwd}`);
fs.removeSync(`${cwd}/tsconfig.json`);
exec('yarn', () => {
console.log('✅ Achieved with success!');
});
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"name": "antistatique-frontend",
"version": "1.0.2",
"version": "1.0.4",
"description": "Antistatique opinionated frontend development configuration (linters, tests,...)",
"main": ".bin/init.js",
"bin": {
"antistatique-frontend": ".bin/init.js",
"antistatique-next": ".bin/next.js"
"init": ".bin/init.js",
"next": ".bin/next.js"
},
"repository": "https://github.com/antistatique/frontend-development-configuration",
"author": "Antistatique",
Expand Down

0 comments on commit a657d51

Please sign in to comment.