add manifest files for npm and component
This commit is contained in:
parent
78c422448a
commit
18dd5a1410
5 changed files with 43 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ module.exports = function(grunt) {
|
||||||
options: {force: true, patterns: [{match: /\.md/g, replacement: ".html"}, {match: /\$version/g, replacement: version}]},
|
options: {force: true, patterns: [{match: /\.md/g, replacement: ".html"}, {match: /\$version/g, replacement: version}]},
|
||||||
links: {expand: true, flatten: true, src: [tempFolder + "/**/*.html"], dest: currentVersionArchiveFolder + "/"},
|
links: {expand: true, flatten: true, src: [tempFolder + "/**/*.html"], dest: currentVersionArchiveFolder + "/"},
|
||||||
index: {src: inputFolder + "/layout/index.html", dest: currentVersionArchiveFolder + "/index.html"},
|
index: {src: inputFolder + "/layout/index.html", dest: currentVersionArchiveFolder + "/index.html"},
|
||||||
|
commonjs: {expand: true, flatten: true, src: [inputFolder + "/layout/*.json"], dest: currentVersionArchiveFolder},
|
||||||
},
|
},
|
||||||
copy: {
|
copy: {
|
||||||
style: {src: inputFolder + "/layout/style.css", dest: currentVersionArchiveFolder + "/style.css"},
|
style: {src: inputFolder + "/layout/style.css", dest: currentVersionArchiveFolder + "/style.css"},
|
||||||
|
|
|
||||||
10
archive/v0.1.2/component.json
Normal file
10
archive/v0.1.2/component.json
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"name": "mithril",
|
||||||
|
"description": "A Javascript framework for building brilliant applications",
|
||||||
|
"keywords": ["mvc", "framework"],
|
||||||
|
"repo": "lhorie/mithril",
|
||||||
|
"main": "mithril.min.js",
|
||||||
|
"scripts": ["mithril.min.js"],
|
||||||
|
"version": "0.1.2",
|
||||||
|
"license": "MIT"
|
||||||
|
}
|
||||||
11
archive/v0.1.2/package.json
Normal file
11
archive/v0.1.2/package.json
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"name": "mithril",
|
||||||
|
"description": "A Javascript Framework for building brilliant applications",
|
||||||
|
"keywords": ["mvc", "framework"],
|
||||||
|
"version": "0.1.2",
|
||||||
|
"author": "Leo Horie <leohorie@hotmail.com>",
|
||||||
|
"repository": {"type": "git", "url": "https://github.com/lhorie/mithril"},
|
||||||
|
"main": "mithril.min.js",
|
||||||
|
"licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}]
|
||||||
|
"files": ["mithril.min.js", "mithril.min.map"]
|
||||||
|
}
|
||||||
10
docs/layout/component.json
Normal file
10
docs/layout/component.json
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
"name": "mithril",
|
||||||
|
"description": "A Javascript framework for building brilliant applications",
|
||||||
|
"keywords": ["mvc", "framework"],
|
||||||
|
"repo": "lhorie/mithril",
|
||||||
|
"main": "mithril.min.js",
|
||||||
|
"scripts": ["mithril.min.js"],
|
||||||
|
"version": "$version",
|
||||||
|
"license": "MIT"
|
||||||
|
}
|
||||||
11
docs/layout/package.json
Normal file
11
docs/layout/package.json
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"name": "mithril",
|
||||||
|
"description": "A Javascript Framework for building brilliant applications",
|
||||||
|
"keywords": ["mvc", "framework"],
|
||||||
|
"version": "$version",
|
||||||
|
"author": "Leo Horie <leohorie@hotmail.com>",
|
||||||
|
"repository": {"type": "git", "url": "https://github.com/lhorie/mithril"},
|
||||||
|
"main": "mithril.min.js",
|
||||||
|
"licenses": [{"type": "MIT", "url": "http://opensource.org/licenses/MIT"}]
|
||||||
|
"files": ["mithril.min.js", "mithril.min.map"]
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue