Debian Codegraph @

node/attr-accept/package.json

raw
1 {
2 "name": "attr-accept",
3 "description": "JavaScript implementation of the \"accept\" attribute for HTML5 <input type=\"file\">",
4 "version": "2.2.5",
5 "main": "dist/index.js",
6 "module": "dist/es/index.js",
7 "types": "index.d.ts",
8 "files": [
9 "dist",
10 "index.d.ts"
11 ],
12 "scripts": {
13 "clean": "rimraf ./dist",
14 "build": "npm run clean && npm run build:cjs && npm run build:es",
15 "build:cjs": "webpack -p",
16 "build:es": "cross-env BABEL_ENV=es babel ./src --out-dir ./dist/es --ignore '**/*.spec.js'",
17 "prepublish": "npm test && npm run build",
18 "pretest": "npm run lint",
19 "test": "mocha --require @babel/register --recursive",
20 "test:watch": "npm test -- --watch",
21 "test:cov": "nyc --reporter=lcov --reporter=text mocha --require @babel/register --recursive",
22 "lint": "eslint src/ test/",
23 "precommit": "lint-staged",
24 "size": "size-limit",
25 "size:why": "size-limit --why"
26 },
27 "repository": {
28 "type": "git",
29 "url": "https://github.com/react-dropzone/attr-accept.git"
30 },
31 "publishConfig": {
32 "access": "public"
33 },
34 "keywords": [
35 "html5",
36 "input",
37 "tag",
38 "attribute",
39 "attr",
40 "accept",
41 "file"
42 ],
43 "author": "Andrey Okonetchnikov @okonetchnikov",
44 "contributors": [
45 "Andrey Okonetchnikov <[email protected]> (http://okonet.ru)",
46 "Roland Groza <[email protected]>"
47 ],
48 "license": "MIT",
49 "bugs": {
50 "url": "https://github.com/react-dropzone/attr-accept/issues"
51 },
52 "homepage": "https://github.com/react-dropzone/attr-accept#readme",
53 "devDependencies": {
54 "@babel/cli": "^7.6.4",
55 "@babel/core": "^7.10.5",
56 "@babel/plugin-external-helpers": "^7.2.0",
57 "@babel/plugin-proposal-do-expressions": "^7.6.0",
58 "@babel/plugin-proposal-export-default-from": "^7.5.2",
59 "@babel/plugin-proposal-logical-assignment-operators": "^7.2.0",
60 "@babel/plugin-proposal-nullish-coalescing-operator": "^7.4.4",
61 "@babel/plugin-proposal-optional-chaining": "^7.6.0",
62 "@babel/plugin-proposal-pipeline-operator": "^7.5.0",
63 "@babel/plugin-transform-runtime": "^7.6.2",
64 "@babel/preset-env": "^7.6.3",
65 "@babel/preset-react": "^7.6.3",
66 "@babel/register": "^7.6.2",
67 "@commitlint/cli": "^8.2.0",
68 "@size-limit/preset-small-lib": "^2.1.6",
69 "babel-eslint": "^8.0.0",
70 "babel-loader": "^8.0.0",
71 "babel-preset-env": "^1.6.0",
72 "core-js": "^3.1.4",
73 "cross-env": "^6.0.3",
74 "cz-conventional-changelog": "^1.2.0",
75 "eslint": "^4.6.1",
76 "eslint-config-airbnb": "^15.1.0",
77 "eslint-config-okonet": "^6.1.3",
78 "eslint-config-prettier": "^2.4.0",
79 "eslint-plugin-flowtype": "^2.35.1",
80 "eslint-plugin-import": "^2.7.0",
81 "eslint-plugin-jsx-a11y": "^5.1.1",
82 "eslint-plugin-node": "^5.1.1",
83 "eslint-plugin-prettier": "^2.2.0",
84 "eslint-plugin-react": "^7.3.0",
85 "expect": "^1.20.2",
86 "husky": "^0.14.3",
87 "lint-staged": "^4.1.3",
88 "mocha": "^9.2.2",
89 "nyc": "^15.1.0",
90 "prettier": "^1.6.1",
91 "rimraf": "^3.0.0",
92 "webpack": "^4.0.0",
93 "webpack-cli": "^3.3.12"
94 },
95 "engines": {
96 "node": ">=4"
97 },
98 "config": {
99 "commitizen": {
100 "path": "./node_modules/cz-conventional-changelog"
101 }
102 },
103 "lint-staged": {
104 "*.js": [
105 "eslint --fix",
106 "git add"
107 ]
108 },
109 "size-limit": [
110 {
111 "path": "dist/index.js",
112 "limit": "2 KB"
113 }
114 ]
115 }