OP 06 November, 2020 - 05:33 AM
(This post was last modified: 06 November, 2020 - 05:34 AM by xiexie123.)
im confuse which part or how to do for build.js with all that files. that why i not familiar with js
make build: Builds all source files and compiles them into unminified source file at addon/build.js. << this part
Development
Directory:
src: The source files that are used for establishing the extension.
ext: Source files that are specific to the extension.
crypto: External source files that provide cryptographic functionality.
sjcl: Cryptographic library submodule.
keccak: Browserified implementation of Keccak taken from https://github.com/cryptocoinjs/keccak.
addon: Extension directory.
test: Test scripts for using the jest integration test framework.
docs: Documentation.
Commands:
make install: Installs all dependencies.
make sjcl: Configures and builds the SJCL source code.
make build: Builds all source files and compiles them into unminified source file at addon/build.js.
make test: Builds all source files (except src/ext/listeners.js) into a single file and then runs the jest testing framework on this file.
make test-all: Same as make test and runs the sjcl tests.
make lint: Lints the source files.
make dist: Package the extension files into a ext.zip file.
make build: Builds all source files and compiles them into unminified source file at addon/build.js. << this part
Development
Directory:
src: The source files that are used for establishing the extension.
ext: Source files that are specific to the extension.
crypto: External source files that provide cryptographic functionality.
sjcl: Cryptographic library submodule.
keccak: Browserified implementation of Keccak taken from https://github.com/cryptocoinjs/keccak.
addon: Extension directory.
test: Test scripts for using the jest integration test framework.
docs: Documentation.
Commands:
make install: Installs all dependencies.
make sjcl: Configures and builds the SJCL source code.
make build: Builds all source files and compiles them into unminified source file at addon/build.js.
make test: Builds all source files (except src/ext/listeners.js) into a single file and then runs the jest testing framework on this file.
make test-all: Same as make test and runs the sjcl tests.
make lint: Lints the source files.
make dist: Package the extension files into a ext.zip file.
![[Image: uWztodn.gif]](https://i.imgur.com/uWztodn.gif)
![[Image: l9ydSON.gif]](https://i.imgur.com/l9ydSON.gif)
![[Image: 99ced7141f954320d4f1925a32685ce0.png]](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fi.gyazo.com%2F99ced7141f954320d4f1925a32685ce0.png)
![[Image: 49a7738fc11ce5213b96495ade06d8fb.png]](https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fi.gyazo.com%2F49a7738fc11ce5213b96495ade06d8fb.png)