We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb37dba commit 4647ac0Copy full SHA for 4647ac0
.babelrc
@@ -1,3 +1,4 @@
1
{
2
- "modules": "ignore"
+ "comments": false,
3
+ "loose": "all"
4
}
package.json
@@ -1,10 +1,11 @@
"name": "proptypes",
"version": "0.14.1",
+ "amdName": "PropTypes",
5
"description": "React's PropTypes, packaged up as a standalone module.",
6
"main": "index.js",
7
"scripts": {
- "build": "babel -f $npm_package_main -s -o $npm_package_main < src/index.js"
8
+ "build": "babel -f $npm_package_main -m umd --module-id $npm_package_amdName -s -o $npm_package_main < src/index.js"
9
},
10
"repository": {
11
"type": "git",
0 commit comments