react-lib123 0.0.0-stage → 1.0.0

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/dist/index.js ADDED
@@ -0,0 +1,2 @@
1
+ import MyComponent from "./myComponent";
2
+ export { MyComponent };
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
3
+ const MyComponent = () => {
4
+ return /*#__PURE__*/_jsxDEV("h1", {
5
+ children: "Testing npm lib"
6
+ }, void 0, false);
7
+ };
8
+ export default MyComponent;
package/package.json CHANGED
@@ -1,6 +1,24 @@
1
1
  {
2
2
  "name": "react-lib123",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "1.0.0",
4
+ "description": "testing npm lib",
5
+ "license": "ISC",
6
+ "author": "stephen, tv",
7
+ "type": "commonjs",
8
+ "main": "dist/index.js",
9
+ "scripts": {
10
+ "test": "echo \"Error: no test specified\" && exit 1",
11
+ "build":"babel src --out-dir dist"
12
+ },
13
+ "dependencies": {
14
+ "react": "^19.3.1",
15
+ "react-dom": "^19.3.1"
16
+ },
17
+ "devDependencies": {
18
+ "@babel/cli": "^8.1.0",
19
+ "@babel/core": "^8.1.0",
20
+ "@babel/preset-env": "^8.0.7",
21
+ "@babel/preset-react": "^8.0.1"
22
+ },
23
+ "files": ["dist/*"]
24
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.