![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
seng-boilerplate
Advanced tools
Add a description here...
npm i -S seng-boilerplate
You can clone this repository and build the distribution files for use in
the browser yourself, and grab one of the following files from the
/dist/
folder:
git clone git@github.com:mediamonks/seng-boilerplate.git
cd seng-boilerplate
npm i
npm run build-dist
window.SengBoilerplate
)import SengBoilerplate from 'seng-boilerplate';
// import SengBoilerplate from 'seng-boilerplate/lib/classname';
// do something with SengBoilerplate
View the generated documentation.
In order to build seng-boilerplate, ensure that you have Git and Node.js installed.
Clone a copy of the repo:
git clone https://github.com/mediamonks/seng-boilerplate.git
Change to the seng-boilerplate directory:
cd seng-boilerplate
Install dev dependencies:
npm install
Use one of the following main scripts:
npm run build # build this project
npm run generate # generate all artifacts (compiles ts, webpack, docs and coverage)
npm run typings # install .d.ts dependencies (done on install)
npm run test-unit # run the unit tests
npm run validate # runs validation scripts, including test, lint and coverage check
npm run lint # run tslint on this project
npm run doc # generate typedoc and yuidoc documentation
npm run typescript-npm # just compile the typescript output used in the npm module
When installing this module, it adds a pre-commit hook, that runs the validate
script before committing, so you can be sure that everything checks out.
View CONTRIBUTING.md
View CHANGELOG.md
View AUTHORS.md
MIT © MediaMonks
Remove this section when cloning this boilerplate to a real project!
This boilerplate contains the following folders:
src/lib
, will be published to npm.npm i
.typings i
.This boilerplate contains the following files:
Todo: describe TypeScript configuration and usage.
Todo: describe Karma configuration and usage.
Todo: describe TSLint configuration and usage.
Todo: describe TypeDoc configuration and usage.
This project uses [Travis](https://travis-ci.org] to build, test and publish its code to npm. Travis is free for public Github repositories.
It runs on all commits, shows the build status for pull requests, and publishes to npm when a new tag/release is created.
Travis only runs the npm test
script, so have configured that script
to run everything we want Travis to check. Besides the unit tests, we
also run our validations and linters.
The travis configuration is placed in a .travis.yml
file, consisting
of multiple sections.
node_js
language,
and tells travis on which node versions to run the process.Because we want to keep the npm api key secret, we generate a secure token with the Travis Client, a CLI written in ruby.
Before we can do this, we must make sure that the repository is added to Travis, because Travis needs the repository owner/name info to make sure the encrypted values only work for that repository.
First you need to login with your travis account:
$ travis login
To verify that you are logged in correctly you can check:
$ travis whoami
Then make sure you are logged in to your npm account with the adduser command:
$ npm adduser
To verify that you are logged in correctly you can check:
$ npm whoami
Now we need to grab your auth token so we can encrypt it:
$ cat ~/.npmrc
# outputs:
//registry.npmjs.org/:_authToken=<your_auth_token>
Then let's encrypt that token using the travis encrypt command:
$ travis encrypt <your_auth_token>
Detected repository as mediamonks/seng-boilerplate, is this correct? |yes|
Please add the following to your .travis.yml file:
secure: "YcN...Zb="
Now copy that last line, paste it into your .travis.yml
, and make
sure it looks something like this:
deploy:
provider: npm
email: "john@doe.com"
api_key:
secure: "YcN...Zb="
Todo: describe Code Climate configuration and usage.
Todo: describe Coverall configuration and usage.
Todo: describe NPM configuration and usage.
FAQs
Boilerplate and example project for all Seng projects
We found that seng-boilerplate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.