UNPKG

2.01 kBJSONView Raw
1{
2 "name": "vk-qr",
3 "version": "1.0.0",
4 "description": "QR Code generator",
5 "main": "dist/es/index.js",
6 "browser": "dist/umd/qrCodeGenerator.js",
7 "module": "dist/es/index.js",
8 "jsxnext:main": "dist/es/index.js",
9 "files": [
10 "dist",
11 "src"
12 ],
13 "engines": {
14 "node": ">=4.0.0"
15 },
16 "scripts": {
17
18 "prepublish": "npm run build",
19 "precommit": "npm run lint:test",
20 "prepush": "npm run lint:test",
21
22 "release": "release-it",
23
24 "coveralls": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
25
26 "lint": "npm run lint:eslint",
27 "lint:eslint": "eslint src/*.js",
28
29 "test": "jest",
30 "test:coverage": "jest --coverage ",
31 "test:watch": "clear && jest --watch",
32
33 "lint:test": "npm run lint && npm run test:coverage",
34
35 "build": "npm run lint:test && npm run build:cjs && npm run build:es && npm run build:umd",
36 "build:watch": "clear && rimraf dist/cjs && cross-env BABEL_ENV=cjs babel -w src --out-dir dist/cjs",
37
38 "build:es": "rimraf dist/es && cross-env BABEL_ENV=es babel src --out-dir dist/es",
39 "build:cjs": "rimraf dist/cjs && cross-env BABEL_ENV=cjs babel src --out-dir dist/cjs",
40 "build:umd": "rimraf dist/umd && cross-env BABEL_ENV=es rollup -c & cross-env BABEL_ENV=es NODE_ENV=production rollup -c"
41
42 },
43 "keywords": [],
44 "author": "VK.com ()",
45 "license": "MIT",
46 "repository": "VKCOM/vk-qr",
47 "devDependencies": {
48 "babel-cli": "^6.26.0",
49 "babel-plugin-add-module-exports": "^0.2.1",
50 "babel-preset-es2015": "^6.24.1",
51 "coveralls": "^2.13.1",
52 "cross-env": "^5.0.5",
53 "eslint": "^4.6.0",
54 "eslint-config-devine": "^1.7.1",
55 "eslint-plugin-babel": "^4.1.2",
56 "jest": "^20.0.4",
57 "rimraf": "^2.6.1",
58 "release-it": "^2.8.5",
59 "husky": "^0.14.3",
60 "rollup": "^0.39.2",
61 "rollup-plugin-babel": "^3.0.2",
62 "rollup-plugin-node-resolve": "^3.0.0",
63 "rollup-plugin-bundle-size": "^1.0.1",
64 "rollup-plugin-commonjs": "^8.2.0",
65 "rollup-plugin-uglify": "^2.0.1"
66 }
67}