Installations
npm install generator-nikita
Developer Guide
Typescript
No
Module System
CommonJS
Min. Node Version
>=6.0
Node Version
8.12.0
NPM Version
6.4.1
Score
35.6
Supply Chain
63.7
Quality
68.8
Maintenance
25
Vulnerability
79.6
License
Releases
Contributors
Unable to fetch Contributors
Languages
HTML (83.54%)
JavaScript (16.4%)
Shell (0.07%)
Developer
nikita-kit
Download Statistics
Total Downloads
11,348
Last Day
1
Last Week
24
Last Month
90
Last Year
414
GitHub Statistics
16 Stars
541 Commits
12 Forks
8 Watching
1 Branches
9 Contributors
Bundle Size
1.76 MB
Minified
594.83 kB
Minified + Gzipped
Package Meta Information
Latest Version
6.0.3
Package Id
generator-nikita@6.0.3
Unpacked Size
286.97 kB
Size
103.55 kB
File Count
163
NPM Version
6.4.1
Node Version
8.12.0
Total Downloads
Cumulative downloads
Total Downloads
11,348
Last day
-50%
1
Compared to previous day
Last week
-55.6%
24
Compared to previous week
Last month
190.3%
90
Compared to previous month
Last year
-39.7%
414
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
5
Peer Dependencies
1
generator-nikita
This is our generator to start a new web project from scratch. It will generate a completely customized version of our nikita kickstarter for your project. Feel free to re-run the generator to add or remove features.
Project-Setup
- Grunt – JavaScript task runner
- Webpack – module bundler
- Babel – next generation JavaScript compiler
- twigRender – static site generator
- React or JSB - JS framework
- SCSS with LibSass – CSS preprocessing
- PostCSS – CSS postprocessing
- Foundation – SCSS framework
- Jest – JS testing framework
- ESLint – linter for JS files
- stylelint – linter for SCSS files
- Browsersync – synchronised browser testing
- nikita.html – HTML conventions and coding guidelines
- nikita.css – (S)CSS conventions and coding guidelines
- nikita.js – JS conventions and coding guidelines
- and many more optional features:
- libraries
swiper
,choices
,react-select
,a11y-dialog
,lodash
anddate-fns
- svg images as inlined css background images
- useful scss mixins
- webfonts
- separated JS build for modern browsers
- pre-commit hook for code linting
- docker setup
- basic gitlab-ci setup
- libraries
Getting Started
Installation
To execute generator-nikita, just go to desired directory and run:
1npx -p yo -p generator-nikita yo nikita
Then npx will download newest Yeoman cli and generator-nikita to it's cache dir and execute them.
Generator main questions
Your project name
These answer will set the corresponding value in the generated package.json.
Â
Which configuration template do you want to use?
* Web-App setup
* Symfony setup
* Wordpress setup
* Spring Boot setup
Here you can choose a config preset for your kind of project. See Templates section below for further information.
Â
Customize this template?
Answer Yes
to customize the nikita default options.
This will ask you several questions which features, mixins, extends and libraries to add.
Â
Which root folder do you want to use?
Here you can just hit enter to keep the template default root folder or enter a custom folder.
In this specified folder, the src
and static
folders gets created.
Templates
Web-App
This is the standard template for stand-alone web apps. The root folder is your project directory by default.
Symfony
The Symfony template sets the root folder to public/
.
In addition, the dev server can proxy your web-server and watch to twig template changes.
To use the nikita build files, just add something like following lines to your base.html.twig file:
1<link rel="stylesheet" href="{{ asset('static/generated/styles.css') }}" /> 2<script src="{{ asset('static/generated/main.js') }}"></script>
Wordpress
The Wordpress template sets the source folder to web/
.
To use the nikita build files (e.g. web/static/generated/main.js
and web/static/generated/styles.css
), just enqueue them in your wordpress theme like this:
1wp_enqueue_script('main.js', '/web/static/generated/main.js', array(), '1.0', false); 2wp_enqueue_style('styles.css', '/web/static/generated/styles.css', array(), '1.0', 'all');
Spring Boot
The Spring Boot template sets the source folder to src/main/resources/web/
.
In addition, the files Application.java
and pom.xml
are generated.
Therefor you were ask for Java groupId, Java version and Spring Boot version.
Contributing
We welcome contributions to generator nikita. See CONTRIBUTING.md for a small guide.
License
generator-nikita is licensed under CC0: Public Domain Dedication, please see NIKITA-LICENSE.md for further information.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: NIKITA-LICENSE.md:0
- Warn: project license file does not contain an FSF or OSI license.
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 2/26 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 6 are checked with a SAST tool
Reason
63 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-6chw-6frg-f759
- Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c
- Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq
- Warn: Project is vulnerable to: GHSA-phwq-j96m-2c2q
- Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6
- Warn: Project is vulnerable to: GHSA-3gx7-xhv7-5mx3
- Warn: Project is vulnerable to: GHSA-8r6j-v8pm-fqw3
- Warn: Project is vulnerable to: MAL-2023-462
- Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97
- Warn: Project is vulnerable to: GHSA-q42p-pg8m-cqh6
- Warn: Project is vulnerable to: GHSA-w457-6q6x-cgp9
- Warn: Project is vulnerable to: GHSA-62gr-4qp9-h98f
- Warn: Project is vulnerable to: GHSA-f52g-6jhx-586p
- Warn: Project is vulnerable to: GHSA-2cf5-4w76-r9qv
- Warn: Project is vulnerable to: GHSA-3cqr-58rm-57f8
- Warn: Project is vulnerable to: GHSA-g9r4-xpmj-mj65
- Warn: Project is vulnerable to: GHSA-q2c6-c6pm-g3gh
- Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44
- Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988
- Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj
- Warn: Project is vulnerable to: GHSA-qqgx-2p2h-9c37
- Warn: Project is vulnerable to: GHSA-8j8c-7jfh-h6hx
- Warn: Project is vulnerable to: GHSA-896r-f27r-55mw
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-675m-85rw-j3w4
- Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp
- Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9
- Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-fhjf-83wg-r2j9
- Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p
- Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9
- Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j
- Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-4g88-fppr-53pp
- Warn: Project is vulnerable to: GHSA-4jqc-8m5r-9rpr
- Warn: Project is vulnerable to: GHSA-4rq4-32rv-6wp6
- Warn: Project is vulnerable to: GHSA-64g7-mvw6-v9qj
- Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9
- Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw
- Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc
- Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh
- Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p
- Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36
- Warn: Project is vulnerable to: GHSA-jgrx-mgxx-jf9v
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-6fc8-4gx4-v693
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
- Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh
- Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp
Score
1.7
/10
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More