3.1.1 • Published 8 years ago
uber-licence v3.1.1
uber-licence
Utility to deal with Uber OSS licences
Example
uber-licence
Running the uber-licence
binary adds licencing information
to every javascript file in your project.
You can run uber-licence --dry
where it does not
mutate any files and instead outputs -1.
You can use --file
and --dir
to specify your own file
and directory filters to select source files to consider.
Recommended usage
// package.json
{
"scripts": {
"check-licence": "uber-licence --dry",
"add-licence": "uber-licence"
},
"devDependencies": {
"uber-licence": "uber/uber-licence",
"pre-commit": "0.0.9"
},
"pre-commit": [
"test",
"check-licence"
],
"pre-commit.silent": true
}
We recommend you add two scripts to your package and run
check-licence
in a git pre commit.
Installation
npm install uber-licence
Tests
npm test
Contributors
MIT Licenced
3.1.1
8 years ago
3.1.0
8 years ago
3.0.0
8 years ago
2.1.3
8 years ago
2.1.2
8 years ago
2.1.1
8 years ago
2.1.0
8 years ago
2.0.2
9 years ago
2.0.1
9 years ago
2.0.0
9 years ago
1.5.6
9 years ago
1.5.5
9 years ago
1.5.4
10 years ago
1.5.3
10 years ago
1.5.1
10 years ago
1.5.0
10 years ago
1.4.0
10 years ago
1.2.0
10 years ago
1.1.0
10 years ago
1.0.0
10 years ago