@flowio/api-internal-prop-types 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js ADDED
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var ApiInternalPropTypes = _interopRequireWildcard(require("./api-internal"));
9
+
10
+ function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = Object.defineProperty && Object.getOwnPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : {}; if (desc.get || desc.set) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } } newObj.default = obj; return newObj; } }
11
+
12
+ var _default = ApiInternalPropTypes;
13
+ exports.default = _default;
package/package.json CHANGED
@@ -1,20 +1,15 @@
1
1
  {
2
2
  "name": "@flowio/api-internal-prop-types",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "PropType validators that work with internal Flow API",
5
- "main": "dist/index.js",
5
+ "main": "lib/index.js",
6
6
  "files": [
7
- "dist",
7
+ "lib",
8
8
  "src"
9
9
  ],
10
10
  "scripts": {
11
- "build": "tsc",
12
- "ci": "npm run lint",
13
- "clean": "rm -rf ./coverage ./lib",
14
- "fix": "tslint --fix -p tsconfig.json './src/**/*.{js,ts}'",
15
- "format": "prettier --parser typescript --trailing-comma all --single-quote --write ./src/**/*.ts",
16
- "lint": "tslint -p tsconfig.json './src/**/*.{js,ts}'",
17
- "postregenerate": "npm run format",
11
+ "build": "babel ./src --out-dir ./lib --copy-files",
12
+ "clean": "rm -rf ./lib",
18
13
  "prepublish": "npm run clean && npm run build",
19
14
  "regenerate": "apibuilder update"
20
15
  },
@@ -23,7 +18,7 @@
23
18
  "flow",
24
19
  "api",
25
20
  "internal",
26
- "proptype"
21
+ "prop-types"
27
22
  ],
28
23
  "author": "Flow Commerce",
29
24
  "license": "MIT",
@@ -34,12 +29,10 @@
34
29
  "prop-types": "^15.7.0"
35
30
  },
36
31
  "devDependencies": {
37
- "@types/prop-types": "^15.7.1",
38
- "prettier": "^1.18.2",
39
- "prop-types": "^15.7.2",
40
- "tslint": "^5.11.0",
41
- "tslint-config-airbnb": "^5.11.1",
42
- "typescript": "^3.2.2"
32
+ "@babel/cli": "^7.0.0",
33
+ "@babel/core": "^7.0.0",
34
+ "@babel/preset-env": "^7.0.0",
35
+ "prop-types": "^15.7.2"
43
36
  },
44
- "gitHead": "e59c9b74bb6881744a73b755cad43bda1a6fb24b"
37
+ "gitHead": "18023c78cc4d991fb56abef69a35f6f89b1eecb7"
45
38
  }