-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from williamtroup/1.0.0
1.0.0
- Loading branch information
Showing
35 changed files
with
4,962 additions
and
669 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,3 +2,5 @@ | |
/.vscode | ||
.DS_Store | ||
*.nupkg | ||
/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 | ||
observe.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 Observe.js | ||
|
||
Before getting started with Observe.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 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
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
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,2 @@ | ||
|
||
export { } |
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,2 @@ | ||
|
||
export { } |
Oops, something went wrong.