remote-form/package.json

53 строки
1.5 KiB
JSON
Executable File

{
"name": "@github/remote-form",
"version": "0.0.5",
"description": "Decorator that will submit a form over AJAX",
"repository": "github/remote-form",
"files": [
"dist"
],
"main": "dist/index.umd.js",
"module": "dist/index.esm.js",
"scripts": {
"clean": "rm -rf dist",
"lint": "github-lint",
"prebuild": "npm run clean && npm run lint && mkdir dist",
"build-umd": "BABEL_ENV=umd babel src/index.js -o dist/index.umd.js",
"build-esm": "BABEL_ENV=esm babel src/index.js -o dist/index.esm.js",
"build": "npm run build-umd && npm run build-esm && cp src/index.js.flow dist/index.umd.js.flow && cp src/index.js.flow dist/index.esm.js.flow",
"pretest": "npm run build",
"test": "karma start test/karma.config.js",
"prepublishOnly": "npm run build"
},
"keywords": [
"decorator",
"remote-form",
"form"
],
"eslintIgnore": [
"dist/"
],
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.1.5",
"@babel/core": "^7.4.4",
"@babel/plugin-transform-modules-commonjs": "^7.4.4",
"@babel/plugin-transform-modules-umd": "^7.2.0",
"babel-preset-github": "^3.2.0",
"chai": "^4.2.0",
"eslint": "^5.16.0",
"eslint-plugin-github": "^2.0.0",
"flow-bin": "^0.98.1",
"karma": "^4.1.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^2.2.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"mocha": "^6.1.4"
},
"dependencies": {
"form-data-entries": "^1.0.2",
"selector-set": "^1.1.4"
}
}