@redapollos/storm-form 0.0.5 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,5 @@
1
+ {
2
+ // "presets": ["@babel/preset-env", "@babel/preset-react"],
3
+ "presets": ["next/babel"],
4
+ "plugins": []
5
+ }
@@ -1,20 +1,22 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports["default"] = void 0;
8
+ var _react = _interopRequireDefault(require("react"));
7
9
  var _logo = _interopRequireDefault(require("/logo.svg"));
8
10
  require("../App.css");
9
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
11
+ var __jsx = _react["default"].createElement;
10
12
  function StormForm() {
11
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("a", {
13
+ return __jsx(_react["default"].Fragment, null, __jsx("div", null, __jsx("a", {
12
14
  href: "https://rainstormtech.com",
13
15
  target: "_blank"
14
- }, /*#__PURE__*/React.createElement("img", {
16
+ }, __jsx("img", {
15
17
  src: _logo["default"],
16
18
  className: "logo",
17
19
  alt: "logo"
18
- }))), /*#__PURE__*/React.createElement("h1", null, "Storm Form"));
20
+ }))), __jsx("h1", null, "Storm Form"));
19
21
  }
20
22
  var _default = exports["default"] = StormForm;
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
6
7
  exports["default"] = void 0;
7
8
  var _StormForm = _interopRequireDefault(require("./components/StormForm"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
9
  var _default = exports["default"] = _StormForm["default"];
package/package.json CHANGED
@@ -1,18 +1,17 @@
1
1
  {
2
2
  "name": "@redapollos/storm-form",
3
3
  "private": false,
4
- "version": "0.0.5",
4
+ "version": "0.0.7",
5
5
  "description": "A form library for StormCMS",
6
6
  "author": "redapollos",
7
7
  "type": "module",
8
8
  "main": "dist/index.js",
9
9
  "scripts": {
10
- "dev": "vite",
11
- "build": "babel src --out-dir dist",
12
- "lint": "eslint .",
13
- "preview": "vite preview"
10
+ "build": "babel src --out-dir dist --verbose",
11
+ "lint": "eslint ."
14
12
  },
15
13
  "dependencies": {
14
+ "next": "^15.1.3",
16
15
  "react": "^18.3.1",
17
16
  "react-dom": "^18.3.1"
18
17
  },
@@ -24,13 +23,11 @@
24
23
  "@eslint/js": "^9.17.0",
25
24
  "@types/react": "^18.3.18",
26
25
  "@types/react-dom": "^18.3.5",
27
- "@vitejs/plugin-react": "^4.3.4",
28
26
  "eslint": "^9.17.0",
29
27
  "eslint-plugin-react": "^7.37.2",
30
28
  "eslint-plugin-react-hooks": "^5.0.0",
31
29
  "eslint-plugin-react-refresh": "^0.4.16",
32
- "globals": "^15.14.0",
33
- "vite": "^6.0.5"
30
+ "globals": "^15.14.0"
34
31
  },
35
32
  "repository": {
36
33
  "type": "git",
package/.babelrc DELETED
@@ -1,4 +0,0 @@
1
- {
2
- "presets": ["@babel/preset-env", "@babel/preset-react"],
3
- "plugins": ["@babel/plugin-transform-modules-commonjs"]
4
- }