Last change
on this file since 47f4eaf was 47f4eaf, checked in by Marko <Marko@…>, 20 months ago |
Final features implemented
|
-
Property mode
set to
100644
|
File size:
1.6 KB
|
Rev | Line | |
---|
[47f4eaf] | 1 | {
|
---|
| 2 | "name": "prop-types",
|
---|
| 3 | "version": "15.8.1",
|
---|
| 4 | "description": "Runtime type checking for React props and similar objects.",
|
---|
| 5 | "sideEffects": false,
|
---|
| 6 | "main": "index.js",
|
---|
| 7 | "license": "MIT",
|
---|
| 8 | "files": [
|
---|
| 9 | "LICENSE",
|
---|
| 10 | "README.md",
|
---|
| 11 | "checkPropTypes.js",
|
---|
| 12 | "factory.js",
|
---|
| 13 | "factoryWithThrowingShims.js",
|
---|
| 14 | "factoryWithTypeCheckers.js",
|
---|
| 15 | "index.js",
|
---|
| 16 | "prop-types.js",
|
---|
| 17 | "prop-types.min.js",
|
---|
| 18 | "lib"
|
---|
| 19 | ],
|
---|
| 20 | "repository": "facebook/prop-types",
|
---|
| 21 | "keywords": [
|
---|
| 22 | "react"
|
---|
| 23 | ],
|
---|
| 24 | "bugs": {
|
---|
| 25 | "url": "https://github.com/facebook/prop-types/issues"
|
---|
| 26 | },
|
---|
| 27 | "homepage": "https://facebook.github.io/react/",
|
---|
| 28 | "dependencies": {
|
---|
| 29 | "loose-envify": "^1.4.0",
|
---|
| 30 | "object-assign": "^4.1.1",
|
---|
| 31 | "react-is": "^16.13.1"
|
---|
| 32 | },
|
---|
| 33 | "scripts": {
|
---|
| 34 | "pretest": "npm run lint",
|
---|
| 35 | "lint": "eslint .",
|
---|
| 36 | "test": "npm run tests-only",
|
---|
| 37 | "tests-only": "jest",
|
---|
| 38 | "umd": "NODE_ENV=development browserify index.js -t loose-envify --standalone PropTypes -o prop-types.js",
|
---|
| 39 | "umd-min": "NODE_ENV=production browserify index.js -t loose-envify -t uglifyify --standalone PropTypes -p bundle-collapser/plugin -o | uglifyjs --compress unused,dead_code -o prop-types.min.js",
|
---|
| 40 | "build": "yarn umd && yarn umd-min",
|
---|
| 41 | "prepublish": "not-in-publish || yarn build"
|
---|
| 42 | },
|
---|
| 43 | "devDependencies": {
|
---|
| 44 | "babel-jest": "^19.0.0",
|
---|
| 45 | "babel-preset-react": "^6.24.1",
|
---|
| 46 | "browserify": "^16.5.0",
|
---|
| 47 | "bundle-collapser": "^1.4.0",
|
---|
| 48 | "eslint": "^8.6.0",
|
---|
| 49 | "in-publish": "^2.0.1",
|
---|
| 50 | "jest": "^19.0.2",
|
---|
| 51 | "react": "^15.7.0",
|
---|
| 52 | "uglifyify": "^5.0.2",
|
---|
| 53 | "uglifyjs": "^2.4.11"
|
---|
| 54 | },
|
---|
| 55 | "browserify": {
|
---|
| 56 | "transform": [
|
---|
| 57 | "loose-envify"
|
---|
| 58 | ]
|
---|
| 59 | }
|
---|
| 60 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.