|
1 | 1 | { |
2 | 2 | "name": "auth0-lock", |
3 | | - "version": "11.16.2", |
| 3 | + "version": "11.16.3", |
4 | 4 | "description": "Auth0 Lock", |
5 | 5 | "author": "Auth0 <[email protected]> (http://auth0.com)", |
6 | 6 | "license": "MIT", |
7 | | - "keywords": [ |
8 | | - "auth0", |
9 | | - "auth", |
10 | | - "openid", |
11 | | - "authentication", |
12 | | - "passwordless", |
13 | | - "browser", |
14 | | - "jwt" |
15 | | - ], |
| 7 | + "keywords": ["auth0", "auth", "openid", "authentication", "passwordless", "browser", "jwt"], |
16 | 8 | "repository": { |
17 | 9 | "type": "git", |
18 | 10 | "url": "git://github.com/auth0/lock" |
|
28 | 20 | "precommit": "lint-staged", |
29 | 21 | "lint": "eslint --ext .jsx,.js src/", |
30 | 22 | "test": "cross-env BABEL_ENV=test zuul -- test/**/*.test.js", |
31 | | - "test:browser": "cross-env BABEL_ENV=test zuul --local 8080 --disable-tunnel -- test/**/*.test.js", |
32 | | - "test:cli": "cross-env BABEL_ENV=test mochify --extension=.jsx --transform=babelify ./test/setup.js test/**/*.test.js", |
33 | | - "test:watch": "cross-env BABEL_ENV=test mochify --watch --extension=.jsx --transform=babelify ./test/setup.js test/**/*.test.js", |
| 23 | + "test:browser": |
| 24 | + "cross-env BABEL_ENV=test zuul --local 8080 --disable-tunnel -- test/**/*.test.js", |
| 25 | + "test:cli": |
| 26 | + "cross-env BABEL_ENV=test mochify --extension=.jsx --transform=babelify ./test/setup.js test/**/*.test.js", |
| 27 | + "test:watch": |
| 28 | + "cross-env BABEL_ENV=test mochify --watch --extension=.jsx --transform=babelify ./test/setup.js test/**/*.test.js", |
34 | 29 | "test:jest": "jest --coverage --runInBand", |
35 | 30 | "test:jest:watch": "jest --watch --coverage", |
36 | 31 | "test:es-check": "es-check es5 'build/*.js'", |
|
116 | 111 | "localPath": "build" |
117 | 112 | }, |
118 | 113 | "jest": { |
119 | | - "modulePaths": [ |
120 | | - "<rootDir>/src/", |
121 | | - "<rootDir>/src/__tests__" |
122 | | - ], |
123 | | - "setupFiles": [ |
124 | | - "<rootDir>/src/__tests__/setup-tests.js" |
125 | | - ], |
| 114 | + "modulePaths": ["<rootDir>/src/", "<rootDir>/src/__tests__"], |
| 115 | + "setupFiles": ["<rootDir>/src/__tests__/setup-tests.js"], |
126 | 116 | "coveragePathIgnorePatterns": [ |
127 | 117 | "/node_modules/", |
128 | 118 | "<rootDir>/test/", |
|
137 | 127 | "<rootDir>/src/__tests__/testUtils.js", |
138 | 128 | "<rootDir>/src/__tests__/setup-tests.js" |
139 | 129 | ], |
140 | | - "coverageReporters": [ |
141 | | - "lcov", |
142 | | - "text-summary" |
143 | | - ] |
| 130 | + "coverageReporters": ["lcov", "text-summary"] |
144 | 131 | }, |
145 | 132 | "lint-staged": { |
146 | | - "*.{js,jsx}": [ |
147 | | - "npm run lint" |
148 | | - ], |
149 | | - "*.{js,jsx,json}": [ |
150 | | - "prettier --write --print-width 100 --single-quote", |
151 | | - "git add" |
152 | | - ] |
| 133 | + "*.{js,jsx}": ["npm run lint"], |
| 134 | + "*.{js,jsx,json}": ["prettier --write --print-width 100 --single-quote", "git add"] |
153 | 135 | } |
154 | 136 | } |
0 commit comments