Skip to content

Commit

Permalink
fix npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
vnxx committed Apr 14, 2020
1 parent eecfff1 commit b7255fa
Show file tree
Hide file tree
Showing 5 changed files with 771 additions and 46 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

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

11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.5.0",
"@testing-library/user-event": "^7.2.1",
"autoprefixer": "^9.7.6",
"html2canvas": "^1.0.0-rc.5",
"konva": "^4.2.2",
"postcss-cli": "^7.1.0",
Expand All @@ -17,12 +18,12 @@
"use-image": "^1.0.5"
},
"scripts": {
"start": "npm run watch:css && react-scripts start",
"build:css": "postcss src/tailwind.css -o src/index.css",
"watch:css": "postcss src/tailwind.css -o src/index.css -w",
"start": "npm run watch:css & react-scripts start",
"build": "npm run build:css && react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"build:css": "postcss src/index.css -o src/index.css",
"watch:css": "postcss src/index.css -o src/index.css"
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
Expand All @@ -39,4 +40,4 @@
"last 1 safari version"
]
}
}
}
11 changes: 5 additions & 6 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
const tailwindcss = require('tailwindcss');
module.exports = {
plugins: [
// ...
require('tailwindcss'),
require('autoprefixer'),
// ...
]
}
tailwindcss('./tailwind.config.js'),
require('autoprefixer')
],
};
Loading

0 comments on commit b7255fa

Please sign in to comment.