Skip to content

Project with mocha-typescript enabled testing

License

Notifications You must be signed in to change notification settings

pana-cc/css-parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSS Parser

https://www.w3.org/TR/css-syntax-3

The parser is implemented following the spec but may have slight variations. Parse error handling was not priority, while performance and Apache 2.0 was. Parsing reasoning about performance is based on some baseline tests, you can read more here.

Contributions

Yes plsease,

To compile and run the tests:

npm i
npm test

This will also generate test coverage in the coverage/lcov-report/index.html. There are coverage goals, try not to break them.

During development, there is a typescript watcher that will rerun tests upon .ts save:

npm run watch

Debugging should be available in VSCode via the "Mocha Tests" configuration.

Style rules follow tslint settings, linter executes upon npm test you can also:

npm run tslint
npm run tslint-fix

About

Project with mocha-typescript enabled testing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%