4 "description": "JavaScript code has been tested with [Jasmine](https://jasmine.github.io/). Install the dependencies by [Yarn](https://yarnpkg.com/lang/en/). Just run `yarn`. To run the tests, switch to the `js` folder and run `yarn test`.",
5 "main": "node-form.js",
7 "babel-cli": "^6.26.0",
8 "babel-loader": "^7.1.4",
9 "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
17 "test": "npx qunit webpack-dist/bundle-test.js",
18 "babel-build-for-test": "babel src/**/*.js test/*.js -d babel-compiled-test",
19 "cleanup-babel-test": "rm -rf babel-compiled-test/",
20 "build-and-test": "mv src/drupal-behavior-function /tmp && npm run-script webpack-test && mv /tmp/drupal-behavior-function src/ && npm run-script test",
21 "build": "webpack --config webpack.production.js --mode production",
22 "webpack-test": "npx webpack --entry ./src/**/*.js ./test/*.js --output ./webpack-dist/bundle-test.js --mode development",
23 "bat": "npm run-script build-and-test"