Skip to content

Commit

Permalink
Merge pull request mozilla#26 from dmose/buildit
Browse files Browse the repository at this point in the history
Fixes mozilla#21, add build step for mozilla-central
  • Loading branch information
dmose authored Jul 11, 2022
2 parents 3d09092 + a0decea commit 2f6cc44
Show file tree
Hide file tree
Showing 6 changed files with 4,347 additions and 193 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,14 @@ it with Pip, and then run `therapist install` in this repo to set it
up. It will automatically format your Javascript with Prettier, and
run ESLint checks before committing your code.

## Building a JSM for use in mozilla-central ##
```shell
$ yarn build
```

The result will be in `vendor/mozjexl.jsm`. This is for use in `mozilla-central/toolkit`, so it is not
minified as it will be compressed in the omnijar file.

## License
Mozjexl is licensed under the MIT license. Please see `LICENSE.txt` for full
details.
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
"test": "test"
},
"scripts": {
"watch": "webpack --config ./webpack.config.js --watch",
"build": "webpack --config ./webpack.config.js",
"test": "mocha -R spec --recursive test",
"lint": "eslint lib test .eslintrc.js --ignore-pattern '!.eslintrc.js'"
},
Expand Down Expand Up @@ -41,6 +43,8 @@
"eslint": "^4.18.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-prettier": "^2.6.0",
"prettier": "^1.10.2"
"license-webpack-plugin": "0.5.1",
"prettier": "^1.10.2",
"webpack": "3.1.0"
}
}
Empty file added vendor/LICENSE_THIRDPARTY
Empty file.
Loading

0 comments on commit 2f6cc44

Please sign in to comment.