0
mirror of https://github.com/valentineus/iii-client.git synced 2025-06-05 07:13:35 +03:00

Redesigned assembly package

This commit is contained in:
Valentin Popov 2017-09-28 16:58:15 +04:00
parent 9bbf640866
commit be7f975919
3 changed files with 39 additions and 2310 deletions

5
.babelrc Normal file
View File

@ -0,0 +1,5 @@
{
presets: ["es2015"],
sourceMaps: "both",
comments: false
}

2275
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,37 +1,36 @@
{ {
"name": "iii-client", "name": "iii-client",
"version": "2.0.1", "version": "2.0.1",
"description": "Simple API for communicating with the bot of the \"iii.ru\" service.", "description": "Simple API for communicating with the bot of the \"iii.ru\" service.",
"homepage": "https://github.com/valentineus/iii-client", "homepage": "https://github.com/valentineus/iii-client",
"license": "MIT", "license": "MIT",
"author": { "author": {
"name": "Valentin Popov", "name": "Valentin Popov",
"email": "info@valentineus.link", "email": "info@valentineus.link",
"url": "https://valentineus.link/" "url": "https://valentineus.link/"
}, },
"bugs": { "bugs": {
"url": "https://github.com/valentineus/iii-client/issues" "url": "https://github.com/valentineus/iii-client/issues"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/valentineus/iii-client.git" "url": "git://github.com/valentineus/iii-client.git"
}, },
"keywords": [ "keywords": [
"simple", "simple",
"client", "client",
"iii", "iii",
"bot" "bot"
], ],
"main": "./lib/index.js", "main": "./lib/index.js",
"devDependencies": { "devDependencies": {
"babel-cli": "^6.24.1", "babel-cli": "^6.24.1",
"babel-core": "^6.24.1", "babel-core": "^6.24.1",
"babel-preset-es2015": "^6.24.1", "babel-preset-es2015": "^6.24.1",
"eslint": "^3.19.0" "eslint": "^3.19.0"
}, },
"scripts": { "scripts": {
"check": "eslint ./src/*", "build": "babel --source-maps --out-file ./dist/index.js ./src/index.js",
"compile": "babel --presets es2015 --minified --no-comments --source-maps --out-file ./lib/index.js ./src/index.js", "check": "eslint ./src/*"
"prepublish": "npm run check && npm run compile" }
}
} }