mirror of
https://github.com/Modernizr/Modernizr.git
synced 2026-01-08 23:27:59 -05:00
Update License for 2021
This commit is contained in:
16
LICENSE.md
Normal file
16
LICENSE.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# The MIT License (MIT)
|
||||
|
||||
Modernizr 3.11.0 | Copyright © 2021 The Modernizr Team
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
||||
documentation files (the “Software”), to deal in the Software without restriction, including without limitation the
|
||||
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit
|
||||
persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
|
||||
Software.
|
||||
|
||||
**The software is provided “as is”, without warranty of any kind, express or implied, including but not limited to the
|
||||
warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or
|
||||
copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or
|
||||
otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.**
|
||||
@@ -95,7 +95,7 @@
|
||||
"serve-gh-pages": "gulp serve:gh-pages",
|
||||
"update-gh-pages": "scripts/generate-gh-pages.sh",
|
||||
"update-changelog": "auto-changelog --commit-limit false --package",
|
||||
"update-license": "node scripts/generate-license.js && git add LICENSE"
|
||||
"update-license": "node scripts/generate-license.js && git add LICENSE.md"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=10"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
var fs = require('fs');
|
||||
var path = require('path');
|
||||
var pkg = require('../package.json');
|
||||
var licensePath = path.resolve(__dirname, '../LICENSE');
|
||||
var licensePath = path.resolve(__dirname, '../LICENSE.md');
|
||||
|
||||
var license = fs.readFileSync(licensePath, 'utf8');
|
||||
var data = license.replace(/Modernizr\s(.+?)\s\|/, 'Modernizr ' + pkg.version + ' |');
|
||||
|
||||
Reference in New Issue
Block a user