Gathering detailed insights and metrics for grunt-babel
Gathering detailed insights and metrics for grunt-babel
Gathering detailed insights and metrics for grunt-babel
Gathering detailed insights and metrics for grunt-babel
npm install grunt-babel
Module System
Unable to determine the module system for this package.
Min. Node Version
Typescript Support
Node Version
NPM Version
437 Stars
74 Commits
70 Forks
19 Watching
17 Branches
16 Contributors
Updated on 02 Sept 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-3.3%
15,252
Compared to previous day
Last week
2.7%
91,036
Compared to previous week
Last month
16.1%
372,661
Compared to previous month
Last year
-0.9%
4,212,494
Compared to previous year
This readme is for grunt-babel v8 + Babel v7 Check the 7.x branch for docs with Babel v6
Use next generation JavaScript, today, with Babel
Issues with the output should be reported on the Babel issue tracker.
For Babel 7.x and grunt-babel v8
1$ yarn add --dev grunt-babel @babel/core @babel/preset-env
For Babel 6.x and grunt-babel v7
1$ yarn add --dev grunt-babel@7 babel-core babel-preset-env
Note: See the 7.x branch for more examples of usage of Babel 6.x. This README is primarily applicable for Babel 7.x
1require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks
2
3grunt.initConfig({
4 babel: {
5 options: {
6 sourceMap: true,
7 presets: ['@babel/preset-env']
8 },
9 dist: {
10 files: {
11 'dist/app.js': 'src/app.js'
12 }
13 }
14 }
15});
16
17grunt.registerTask('default', ['babel']);
1grunt.initConfig({
2 babel: {
3 options: {
4 sourceMap: true,
5 presets: ['@babel/preset-env']
6 },
7 dist: {
8 files: {
9 'dist/app.js': 'src/app.js'
10 }
11 }
12 }
13});
14
15grunt.loadNpmTasks('grunt-babel');
16
17grunt.registerTask('default', ['babel']);
See the Babel options, except for filename
which is handled for you.
MIT © Sindre Sorhus
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 4/24 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
46 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
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