remote-form/package.json

56 строки
1.6 KiB
JSON
Executable File

{
"name": "@github/remote-form",
"version": "0.0.9",
"description": "Decorator that will submit a form over AJAX",
"repository": "github/remote-form",
"files": [
"dist",
"index.d.ts"
],
"main": "dist/index.umd.js",
"module": "dist/index.esm.js",
"types:": "index.d.ts",
"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",
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'"
},
"keywords": [
"decorator",
"remote-form",
"form"
],
"eslintIgnore": [
"dist/"
],
"license": "MIT",
"devDependencies": {
"@babel/cli": "^7.1.5",
"@babel/core": "^7.4.5",
"@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": "^6.0.1",
"eslint-plugin-github": "^3.0.0",
"flow-bin": "^0.102.0",
"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"
}
}