27 Commits

Author SHA1 Message Date
Adam Wathan
782598319a Comment out requiring defaultConfig inside itself
Uncomment on init
2017-10-26 12:06:10 -04:00
Jonathan Reinink
e06e758312 Update the doc's Tailwind config to use the new config format
Also had to create a self referencing package dependency so that the require('tailwindcss') call in the default config would work.
2017-10-26 10:18:07 -04:00
Adam Wathan
bee38a2994 Always babelify before building dist 2017-10-24 07:42:56 -04:00
Adam Wathan
7601b5564a Allow optional destination for init command, prevent overriding existing files 2017-10-24 07:39:09 -04:00
Adam Wathan
8e1fcd7262 Generate minified file on build
Useful for checking gzip size and making sure we are still reasonable.
Currently at 19.6kb 🤙🏻
2017-10-19 12:00:14 -04:00
Adam Wathan
cd41069cba Extract reset to separate file, inline SUIT CSS Base, rename @tailwind at-rules 2017-10-11 09:35:04 -04:00
Adam Wathan
ba04169e4e Add support for "tailwind" function to look up config values 2017-10-09 10:42:19 -04:00
Adam Wathan
1da5eb4d4c Add @tailwind-reset rule
...with basic reset support.

Might want to rename the rule because of that annoying Less issue where
it fails without any parameters, like `@tailwind reset` or something.
Super G and inconsistent with `@tailwind-utilities all` though. Who
knows.
2017-10-07 17:59:28 -04:00
Adam Wathan
6c6675051d Remove unused postcss-prettify plugin 2017-10-07 16:30:20 -04:00
Adam Wathan
082fd3a389 Remove dependency on CSSNext 2017-10-06 15:31:45 -04:00
David Hemphill
8863065b97 Rework Babel setup to be more node-y less browser-y 2017-09-09 10:23:53 -04:00
Adam Wathan
cf9a04ca97 Move dev dependencies to dependencies
Installing NPM packages from GitHub means we don't have the benefit
of NPM running our babel/prepare scripts on publish.

When you try to install Tailwind, it'll blow up because it tries to
run the prepare script on install and none of the dev dependencies
are installed.

There may be a better way to handle this but there is zero fucking
information on the internet about what a "proper" private package
development workflow looks like, especially when you have a build
step.
2017-09-08 02:09:45 -04:00
David Hemphill
615a1264f4 update project entry point 2017-08-28 15:02:50 -05:00
David Hemphill
d1f345fafc Move the CLI to a different file 2017-08-28 15:02:22 -05:00
David Hemphill
9cfe3aa25d Add command to process with tailwind from file with custom json config 2017-08-27 23:07:55 -05:00
David Hemphill
19068596f4 Add watch task 2017-08-27 18:02:41 -04:00
David Hemphill
ccbe282a76 speed up build using babel-node instead of manually babelifying 2017-08-27 18:02:41 -04:00
David Hemphill
3ceba8ef52 fix tests and switch them to es6 syntax 2017-08-27 18:02:41 -04:00
David Hemphill
2ef01837a9 Convert new stuff to use ES6 modules 2017-08-27 18:02:41 -04:00
Adam Wathan
882f391bd6 Add browserslist config to avoid rem -> px fallback generation 2017-08-27 18:02:41 -04:00
Adam Wathan
1e1d45e092 Break Tailwind out into 3 private plugins, bake in cssnext and stylefmt 2017-08-27 18:02:41 -04:00
David Hemphill
bd1766a020 Test define-class and define-classes functions 2017-08-27 18:02:41 -04:00
David Hemphill
aa46fb9211 Restructure and add build process 2017-08-27 18:02:41 -04:00
Adam Wathan
0aae680c52 Super primitive mix setup 2017-08-27 18:02:02 -04:00
Adam Wathan
115b5397cf Add PostCSS dependencies 2017-08-27 18:02:02 -04:00
Adam Wathan
b8de8222c0 Add Reinink to package.json 2017-08-03 22:47:45 -04:00
Adam Wathan
421c1b0d7d Init 2017-07-20 08:39:57 -04:00