Skip to content

Commit e39488c

Browse files
committed
Add babel build
1 parent e1e47c9 commit e39488c

File tree

3 files changed

+476
-1
lines changed

3 files changed

+476
-1
lines changed

.babelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"modules": "ignore"
3+
}

package.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,16 @@
33
"version": "0.14.0",
44
"description": "React's PropTypes, packaged up as a standalone module.",
55
"main": "index.js",
6+
"scripts": {
7+
"build": "babel -f $npm_package_main -s -o $npm_package_main < src/index.js"
8+
},
69
"repository": {
710
"type": "git",
811
"url": "https://github.com/developit/proptypes.git"
912
},
1013
"homepage": "https://github.com/developit/proptypes",
11-
"license": "BSD"
14+
"license": "BSD",
15+
"devDependencies": {
16+
"babel": "^5.8.29"
17+
}
1218
}

0 commit comments

Comments
 (0)