Skip to content

Commit a3d2cba

Browse files
committed
添加package.json,添加构建工具说明
对新手来说package.json与基本的构建工具指引很重要。
1 parent 45d3434 commit a3d2cba

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
Examples for SeaJS
2-
===
3-
4-
<http://seajs.github.com/examples>
5-
1+
Examples for SeaJS
2+
===
3+
4+
<http://seajs.github.com/examples>
5+
6+
__注意__
7+
8+
如果你想构建示例,需要使用 [Gruntjs](http://gruntjs.com/)[spm](https://github.com/spmjs/spm/wiki)

static/hello/package.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "hello",
3+
"version": "0.1.0",
4+
"devDependencies": {
5+
"grunt": "~0.4.1",
6+
"grunt-cmd-transport": "~0.1.1",
7+
"grunt-cmd-concat": "~0.1.0",
8+
"grunt-contrib-uglify": "~0.2.0",
9+
"grunt-contrib-clean": "~0.4.0"
10+
}
11+
}

0 commit comments

Comments
 (0)