Comparing version 3.0.2 to 3.2.0
{ | ||
"name": "form-js", | ||
"version": "3.0.2", | ||
"version": "3.2.0", | ||
"homepage": "https://github.com/mkay581/form-js", | ||
@@ -5,0 +5,0 @@ "authors": [ |
@@ -30,15 +30,21 @@ # Contributing to Form | ||
$ grunt server | ||
$ grunt bt:test:qunit:server | ||
##### Testing in development | ||
Open [0.0.0.0:8080/tests/](http://0.0.0.0:8080/tests/) in a browser. | ||
Open [localhost:7755/](http://localhost:7755/) in a browser which is done via browserify. | ||
You can also debug test files in the browser. The files are also watched so the build will recompile when you make edits to them. | ||
### Do a build | ||
To do a production-like build, run: | ||
$ grunt build | ||
Which will build the project into the build folder. | ||
$ grunt bt:build | ||
Which will build the project into the `dist` folder. | ||
To do a local build and have the files get watched as you edit them, run: | ||
$ grunt bt:build:local | ||
### Publish the JSdocs | ||
@@ -45,0 +51,0 @@ |
@@ -38,6 +38,4 @@ module.exports = function(grunt) { | ||
standalone: 'Form' | ||
} | ||
}, | ||
min: { | ||
files: { | ||
}, | ||
minifyFiles: { | ||
'dist/form-min.js': ['dist/form.js'], | ||
@@ -50,7 +48,5 @@ 'dist/checkbox-min.js': ['dist/checkbox.js'], | ||
'dist/text-area-min.js': ['dist/text-area.js'] | ||
} | ||
}, | ||
bannerFiles: ['dist/*'] | ||
}, | ||
banner: { | ||
files: ['dist/*'] | ||
}, | ||
tests: { | ||
@@ -57,0 +53,0 @@ qunit: { |
{ | ||
"name": "form-js", | ||
"version": "3.0.2", | ||
"version": "3.2.0", | ||
"description": "Create better ui form elements. Supports IE9+, all modern browsers, and mobile.", | ||
@@ -40,3 +40,3 @@ "repository": { | ||
"devDependencies": { | ||
"build-tools": "^1.6.0", | ||
"build-tools": "^2.5.0", | ||
"grunt": "0.4.5", | ||
@@ -43,0 +43,0 @@ "grunt-github-pages": "0.0.4", |
@@ -149,2 +149,10 @@ [![Build Status](https://travis-ci.org/mkay581/form-js.svg?branch=master)](https://travis-ci.org/mkay581/form-js) | ||
## Build | ||
To create a build and inject files into a 'dist' folder at the root of your project, just run: | ||
``` | ||
grunt bt:build | ||
``` | ||
## Examples | ||
@@ -151,0 +159,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
1
164
6
1
286308
36
5307