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.