Skip to content

Commit 706162d

Browse files
committed
9.3.4
1 parent dc5ae6f commit 706162d

File tree

1 file changed

+22
-47
lines changed

1 file changed

+22
-47
lines changed

package.json

Lines changed: 22 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-autosuggest",
3-
"version": "9.3.3",
3+
"version": "9.3.4",
44
"description": "WAI-ARIA compliant React autosuggest component",
55
"main": "dist/index.js",
66
"repository": {
@@ -10,13 +10,18 @@
1010
"author": "Misha Moroshko <[email protected]>",
1111
"scripts": {
1212
"start": "mkdir -p demo/dist && npm run copy-static-files && node server",
13-
"prettier": "prettier --single-quote --write \".*.js\" \"*.js\" \"demo/src/**/*.js\" \"demo/standalone/app.js\" \"src/**/*.js\" \"test/**/*.js\"",
14-
"lint": "eslint src test demo/src demo/standalone/app.js server.js webpack.*.js",
13+
"prettier":
14+
"prettier --single-quote --write \".*.js\" \"*.js\" \"demo/src/**/*.js\" \"demo/standalone/app.js\" \"src/**/*.js\" \"test/**/*.js\"",
15+
"lint":
16+
"eslint src test demo/src demo/standalone/app.js server.js webpack.*.js",
1517
"test": "nyc mocha \"test/**/*.test.js\"",
16-
"copy-static-files": "cp demo/src/index.html demo/src/components/App/components/Examples/components/Basic/autosuggest.css demo/dist/",
18+
"copy-static-files":
19+
"cp demo/src/index.html demo/src/components/App/components/Examples/components/Basic/autosuggest.css demo/dist/",
1720
"dist": "rm -rf dist && mkdir dist && babel src -d dist",
18-
"demo-dist": "rm -rf demo/dist && mkdir demo/dist && npm run copy-static-files && cross-env BABEL_ENV=production webpack --config webpack.gh-pages.config.js",
19-
"standalone": "cross-env BABEL_ENV=production webpack --config webpack.standalone.config.js && webpack --config webpack.standalone-demo.config.js",
21+
"demo-dist":
22+
"rm -rf demo/dist && mkdir demo/dist && npm run copy-static-files && cross-env BABEL_ENV=production webpack --config webpack.gh-pages.config.js",
23+
"standalone":
24+
"cross-env BABEL_ENV=production webpack --config webpack.standalone.config.js && webpack --config webpack.standalone-demo.config.js",
2025
"prebuild": "npm run prettier && npm run lint && npm test",
2126
"build": "npm run dist && npm run standalone",
2227
"gh-pages-build": "npm run prebuild && npm run demo-dist",
@@ -78,34 +83,14 @@
7883
"webpack": "^1.14.0",
7984
"webpack-dev-server": "^1.16.2"
8085
},
81-
"files": [
82-
"dist"
83-
],
86+
"files": ["dist"],
8487
"lint-staged": {
85-
".*.js": [
86-
"npm run prettier",
87-
"git add"
88-
],
89-
"*.js": [
90-
"npm run prettier",
91-
"git add"
92-
],
93-
"demo/src/**/*.js": [
94-
"npm run prettier",
95-
"git add"
96-
],
97-
"demo/standalone/app.js": [
98-
"npm run prettier",
99-
"git add"
100-
],
101-
"src/**/*.js": [
102-
"npm run prettier",
103-
"git add"
104-
],
105-
"test/**/*.js": [
106-
"npm run prettier",
107-
"git add"
108-
]
88+
".*.js": ["npm run prettier", "git add"],
89+
"*.js": ["npm run prettier", "git add"],
90+
"demo/src/**/*.js": ["npm run prettier", "git add"],
91+
"demo/standalone/app.js": ["npm run prettier", "git add"],
92+
"src/**/*.js": ["npm run prettier", "git add"],
93+
"test/**/*.js": ["npm run prettier", "git add"]
10994
},
11095
"keywords": [
11196
"autosuggest",
@@ -131,20 +116,10 @@
131116
"branches": 91,
132117
"functions": 100,
133118
"lines": 95,
134-
"include": [
135-
"src/*.js"
136-
],
137-
"exclude": [
138-
"test/**/*.js"
139-
],
140-
"reporter": [
141-
"lcov",
142-
"text-summary"
143-
],
144-
"require": [
145-
"babel-register",
146-
"./test/setup.js"
147-
],
119+
"include": ["src/*.js"],
120+
"exclude": ["test/**/*.js"],
121+
"reporter": ["lcov", "text-summary"],
122+
"require": ["babel-register", "./test/setup.js"],
148123
"check-coverage": true
149124
},
150125
"license": "MIT"

0 commit comments

Comments
 (0)