UNPKG

3.36 kBJSONView Raw
1{
2 "name": "medium-zoom",
3 "version": "1.0.6",
4 "description": "A JavaScript library for zooming images like Medium",
5 "license": "MIT",
6 "repository": "francoischalifour/medium-zoom",
7 "author": {
8 "name": "Francois Chalifour",
9 "email": "francois.chalifour@gmail.com",
10 "url": "https://francoischalifour.com"
11 },
12 "main": "dist/medium-zoom.min.js",
13 "module": "dist/medium-zoom.esm.js",
14 "types": "dist/medium-zoom.d.ts",
15 "sideEffects": false,
16 "scripts": {
17 "start": "yarn run dev",
18 "dev": "rollup --config --watch",
19 "prebuild": "yarn run clean",
20 "build": "rollup --config",
21 "postbuild": "cp ./src/medium-zoom.d.ts ./dist",
22 "prepublishOnly": "npm run build",
23 "lint": "eslint .",
24 "format": "prettier --write *.{js,json,css,md} && yarn run lint --fix",
25 "test": "jest",
26 "test:cypress:run": "cypress run",
27 "test:cypress:open": "cypress open",
28 "test:cypress:update": "cypress run --env updateSnapshots=true",
29 "test:cypress": "npm-run-all --parallel --race storybook test:cypress:run",
30 "test:cypress:record": "npm-run-all --parallel --race storybook 'test:cypress:run -- --record --key {1}' --",
31 "test:size": "bundlesize",
32 "clean": "rimraf ./dist",
33 "build:storybook": "build-storybook -o ./website/dist/storybook -c ./stories/config -s ./dist,./stories/images",
34 "storybook": "start-storybook -p 9001 -c ./stories/config -s ./dist,./stories/images",
35 "build:website": "(cd website && yarn && yarn run build) && yarn run build && yarn run build:storybook",
36 "changelog:update": "conventional-changelog -p angular -i CHANGELOG.md -s",
37 "release": "release-it",
38 "release:next": "release-it --preRelease=next",
39 "release:examples": "./scripts/release-examples.sh"
40 },
41 "files": [
42 "dist"
43 ],
44 "keywords": [
45 "medium",
46 "image",
47 "zoom",
48 "picture",
49 "lightbox",
50 "click",
51 "scroll",
52 "pure",
53 "plain",
54 "vanilla",
55 "javascript",
56 "ux",
57 "performance",
58 "event",
59 "medium-zoom",
60 "zoomable"
61 ],
62 "devDependencies": {
63 "@storybook/addon-notes": "4.0.0-alpha.14",
64 "@storybook/addon-options": "4.0.0-alpha.14",
65 "@storybook/addon-storysource": "4.0.0-alpha.14",
66 "@storybook/html": "4.0.0-alpha.14",
67 "babel-core": "6.26.3",
68 "babel-eslint": "10.0.3",
69 "babel-plugin-external-helpers": "6.22.0",
70 "babel-plugin-require-context-hook": "1.0.0",
71 "babel-plugin-transform-object-rest-spread": "6.26.0",
72 "babel-preset-env": "1.7.0",
73 "bundlesize": "0.18.0",
74 "conventional-changelog-cli": "2.0.28",
75 "cssnano": "4.1.10",
76 "cypress": "3.7.0",
77 "cypress-image-snapshot": "3.1.1",
78 "eslint": "5.12.1",
79 "eslint-config-airbnb-base": "13.1.0",
80 "eslint-config-prettier": "3.6.0",
81 "eslint-plugin-cypress": "2.7.0",
82 "eslint-plugin-import": "2.18.2",
83 "husky": "3.1.0",
84 "jest": "23.6.0",
85 "npm-run-all": "4.1.5",
86 "prettier": "1.19.1",
87 "pretty-quick": "1.10.0",
88 "release-it": "10.4.5",
89 "rimraf": "3.0.0",
90 "rollup": "1.27.8",
91 "rollup-plugin-babel": "3.0.7",
92 "rollup-plugin-filesize": "6.2.1",
93 "rollup-plugin-license": "0.13.0",
94 "rollup-plugin-postcss": "2.0.3",
95 "rollup-plugin-replace": "2.2.0",
96 "rollup-plugin-terser": "5.1.2",
97 "rollup-plugin-uglify": "4.0.0",
98 "rollup-watch": "4.3.1"
99 }
100}