@thescaffold/jsx-core 0.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/README.md ADDED
@@ -0,0 +1,61 @@
1
+ # Scaffold
2
+
3
+ ## JSX core
4
+
5
+ ### Introduction
6
+
7
+ ### Supported Platforms
8
+
9
+ - Browser
10
+ - Node.js (Javascript/Typescript)
11
+
12
+ ### Installation
13
+
14
+ 1. NPM
15
+
16
+ ```bash
17
+ $ npm i @thescaffold/jsx-core
18
+ ```
19
+
20
+ 2. CDN
21
+
22
+ ```html
23
+
24
+ ```
25
+
26
+ ### Usage & API
27
+
28
+ ## Commands
29
+
30
+ DTS scaffolds your new library inside `/src`.
31
+
32
+ To run DTS, use:
33
+
34
+ ```bash
35
+ npm start # or yarn start
36
+ ```
37
+
38
+ This builds to `/dist` and runs the project in watch mode so any edits you save inside `src` causes a rebuild to `/dist`.
39
+
40
+ To do a one-off build, use `npm run build` or `yarn build`.
41
+
42
+ To run tests, use `npm test` or `yarn test`.
43
+
44
+ ## Custom Commands
45
+
46
+ ```
47
+ # build and sync locally
48
+ $ node ./build --env=dev --sync=true
49
+
50
+ # build and publish
51
+ $ node ./build --env=prod --sync=true --version=x.x.x
52
+ ```
53
+
54
+ ## Publish
55
+
56
+ ```
57
+ $ git tag <version e.g v0.0.0>
58
+ $ git push origin <version>
59
+ ```
60
+
61
+ ## License
@@ -0,0 +1 @@
1
+ export declare const stackTrace: () => string;
package/index.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Public APIs
3
+ */
4
+ export * from './error/index';
5
+ export * from './request/index';
6
+ export * from './storage/index';
7
+ export * from './store/index';
8
+ export * from './utils/index';
package/index.js ADDED
@@ -0,0 +1,8 @@
1
+
2
+ 'use strict'
3
+
4
+ if (process.env.NODE_ENV === 'production') {
5
+ module.exports = require('./jsx-core.cjs.production.min.js')
6
+ } else {
7
+ module.exports = require('./jsx-core.cjs.development.js')
8
+ }