Skip to content

Commit

Permalink
commit dump
Browse files Browse the repository at this point in the history
  • Loading branch information
thysultan committed Jan 5, 2020
1 parent 0e2efc7 commit d8e0713
Show file tree
Hide file tree
Showing 26 changed files with 1,580 additions and 1,551 deletions.
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflow/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: main
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [11.4.0]
steps:
- name: checkout
uses: actions/checkout@v1
- name: setup ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: test
run: |
npm install
npm test
- name: report
uses: coverallsapp/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: ./coverage/lcov.info
22 changes: 15 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,39 @@ In comparision the current version sits around ~4kb.

```js
const comment = {
source: {line: 1, column: 0, caret: 2},
value: "/*! Lorem ipsum dolor sit. */",
type: "comment",
props: '!',
children: "Lorem ipsum dolor sit.",
line: 1,
column: 1,
caret: 2
}
const decl = {
source: {line: 1, column: 0, caret: 2},
value: "color:red",
type: "decl",
props: "color",
children: "red"
children: "red",
line: 1,
column: 1,
caret: 2
}
const rule = {
source: {line: 1, column: 0, caret: 2},
value: "h1,h2",
type: "rule",
props: ['h1', 'h2'],
children: [...]
children: [...],
line: 1,
column: 1,
caret: 2
}
const atrule = {
source: {line: 1, column: 0, caret: 2},
value: "@media (max-width:100), (min-width:100)",
type: "@media",
props: ['(max-width:100)', '(min-width:100)'],
children: [...]
children: [...],
line: 1,
column: 1,
caret: 2
}
```
Loading

0 comments on commit d8e0713

Please sign in to comment.