Summary: ${PKG_README_DESCRIPTION}
Author: ${GH_AUTHOR}
Mail: ${GH_EMAIL}
User: ${GH_USER}
Org: ${NPM_ORG}
- 1. Abstract
- 2. Releases
-
3. The folders and files of ${NEW_REPO_NAME}
- 3.1. ./assembly/index.ts
- 3.2. ./build/optimized.d.ts
- 3.3. ./build/optimized.wasm
- 3.4. ./build/optimized.wat
- 3.5. ./index.d.ts
- 3.6. ./index.js
- 3.7. ./lib
- 3.8. ./lib/index.d.ts
- 3.9. ./lib/index.js
- 3.10. ./lib/${NEW_REPO_NAME}.d.ts
- 3.11. ./lib/${NEW_REPO_NAME}.js
- 3.12. ./main.js
- 3.13. ./src/index.ts
- 3.14. ./src/${NEW_REPO_NAME}.ts
- 3.15. ./tests/index.js
- 3.16. ./tests/${NEW_REPO_NAME}.spec.ts
- 4. Launch configurations
- 5. NPM Scripts
Elaborate on "${PKG_README_DESCRIPTION}"
| Version | Description |
|---|---|
| 1.0.0 | Under construction, not ready for use |
| 0.0.1 | Initial development version, do not use |
\${NEW_REPO_NAME}
├── README.md
├── asconfig.json
├── assembly
│ ├── index.ts
│ └── tsconfig.json
├── build
│ ├── optimized.d.ts
│ ├── optimized.wasm
│ ├── optimized.wasm.map
│ ├── optimized.wat
│ ├── untouched.d.ts
│ ├── untouched.wasm
│ ├── untouched.wasm.map
│ └── untouched.wat
├── index.d.ts
├── index.js
├── jest.config.js
├── lib
│ ├── index.d.ts
│ ├── index.js
│ ├── index.js.map
│ ├── \${NEW_REPO_NAME}.d.ts
│ ├── \${NEW_REPO_NAME}.js
│ └── \${NEW_REPO_NAME}.js.map
├── main.js
├── package-lock.json
├── package.json
├── src
│ ├── index.ts
│ └── \${NEW_REPO_NAME}.ts
├── tests
│ ├── index.js
│ └── \${NEW_REPO_NAME}.spec.ts
└── tsconfig.json
Internal AssemblyScript library core implementation.
Generated type definition for binary output.
Generated optimized compile binary output.
Generated optimized AssemblyScript text output.
Type definition for package index module.
Package index module.
Generated TypeScript output.
Generated type definition for the js index module.
Generated JavaScript index module.
Generated Type definition for js api module.
Generated JavaScript api implementation module.
Embryo for launching and the package as a node commandline utility.
TypeScript api index module.
TypeScript api implementation module.
Node JavaScript api module tests relying on the assert function.
Jest TypeScript api module unit tests relying on the node jest/ts-jest framework.
Use this configuration to debug unit tests in ./tests/\${NEW_REPO_NAME}.spec.ts
Launch the package as a node command line utility through ./main.js for testing purposes.
The following scripts are defined in the scripts section in package.json.
npm run build && node tests
Build and then run node javascript tests.
asc assembly/index.ts --target debug -d > build/untouched.d.ts
Build a debug version of the core assemblyscript implementation, generate typescript type definitions.
asc assembly/index.ts --target release -d > build/optimized.d.ts
Build a release version of the core assemblyscript implementation, generate typescript type definitions.
npm run asbuild:untouched && npm run asbuild:optimized
First build debug and then release versions of the core assemblyscript implementation.
npm run build && jest
First build all and then run the unit tests of the jest/ts-test framework.
tsc
Build the typescript api implementation.
npm run asbuild && npm run tsbuild
First build the core assembly script and the typescript api.
rm -rf coverage/* build/* lib/*
Remove all output files from the build.
npm run build && node main.js
First build all and then run .\main.js as a node application.