You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Add test files (input + expected output) in [`src/__tests__/fixtures/features`](src/__tests__/features)
32
32
- If the feature can affect some others, update [`src/__tests__/fixtures/cases/example.css`](src/__tests__/cases/example.css) to test integration with other features
33
33
34
-
- Choose a pretty simple and clear name (that match the specs)
35
-
- Add the feature in the [README features list](#features) (title, link to spec, link of the plugin, short desc)
36
-
- Add the feature in the [README node.js options list](#features-default-all-features) (camelCaseName)
37
-
- Add the dependency in the [`package.json`](package.json)
38
-
- Add the feature in the source (in [`index.js`](index.js)), in the appropriate place (order matter)
34
+
- Choose a pretty simple and clear name (that match the specs), if you are not sure, ask using an issue.
35
+
- Add the feature in :
36
+
-`docs/content/index.md` (http://cssnext.io/)
37
+
-`docs/content/features.md` (http://cssnext.io/features/) with an example + link to specs like others features
38
+
- Add the dependency in the [`package.json`](package.json) (use `npm install --save postcss-...`)
39
+
- Add the feature in the source (in [`src/features.js`](src/features.js)), in the appropriate place (order matter)
39
40
For now, use a empty function instead of the right module
40
41
- Run test, & check tests are broken (otherwise feature is useless)
41
-
Now, call the right plugin
42
+
Now, call the right plugin in the function you just created
42
43
- Run test and be happy
43
-
- Add feature in [the docs](docs/content)
44
44
- Add feature on [the playground](docs/content/playground.html) example
45
-
46
-
47
-
### Edit messages styles
48
-
49
-
- default styles are in src/option.messages.browser.styles.js
50
-
- test render by running: `babel-node src/__tests__/messages`.
51
-
Styles will be compiled, rendered in a web page & the webpage will be opened for
0 commit comments