-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
William Troup
committed
Jul 8, 2024
1 parent
1f662e1
commit eea0d19
Showing
13 changed files
with
220 additions
and
1,451 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,5 @@ | |
/.vscode | ||
.DS_Store | ||
*.nupkg | ||
dist | ||
build | ||
node_modules | ||
.idea | ||
package-lock.json | ||
/build | ||
/node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/.github | ||
/.vscode | ||
/test | ||
/build | ||
CODE_OF_CONDUCT.md | ||
CONTRIBUTING.md | ||
jsontree.js.nuspec | ||
PACK.sh | ||
PUBLISH.sh | ||
README_NUGET.md | ||
SECURITY.md | ||
SERVE.sh | ||
package-lock.json | ||
tsconfig.json | ||
tsup.build.config.ts | ||
tsup.build.esm.config.ts | ||
tsup.build.min.config.ts | ||
BUILD_INSTRUCTIONS.md | ||
*.nupkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
# Building JsonTree.js | ||
|
||
Before getting started with JsonTree.js, please read through the following instructions: | ||
|
||
|
||
## Step 1: Install Packages: | ||
|
||
Install the packages using the following NPM commands: | ||
|
||
### 1. Install TypeScript: | ||
|
||
```markdown | ||
npm install -g typescript | ||
``` | ||
|
||
### 2. Install tsup: | ||
|
||
```markdown | ||
npm i tsup -D | ||
``` | ||
|
||
### 3. Install terser: | ||
|
||
```markdown | ||
npm install terser -D | ||
``` | ||
|
||
### 4. Install swc/core (if ES5 is required): | ||
|
||
```markdown | ||
npm install @swc/core -D | ||
``` | ||
|
||
|
||
## Step 2: Build Project: | ||
|
||
### 1. Full Build: | ||
|
||
To build the TypeScript, run the following command: | ||
|
||
```markdown | ||
npm run build-typescript | ||
``` | ||
|
||
To build the SASS, run the following command: | ||
|
||
```markdown | ||
npm run build-sass | ||
``` | ||
|
||
To build the everything, run the following command: | ||
|
||
```markdown | ||
npm run build | ||
``` | ||
|
||
### 2. Minimized Build: | ||
|
||
To build the TypeScript, run the following command: | ||
|
||
```markdown | ||
npm run build-minimized-typescript | ||
``` | ||
|
||
To build the SASS, run the following command: | ||
|
||
```markdown | ||
npm run build-minimized-sass | ||
``` | ||
|
||
To build the everything, run the following command: | ||
|
||
```markdown | ||
npm run build-minimized | ||
``` | ||
|
||
### 3. ESM Build: | ||
|
||
To build the TypeScript, run the following command: | ||
|
||
```markdown | ||
npm run build-typescript-esm | ||
``` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.