|
13 | 13 | "test": "jest", |
14 | 14 | "watch": "jest --watch", |
15 | 15 | "test:mixed-versions": "jest --testRegex mixed-versions", |
16 | | - "test:all": |
17 | | - "yarn small-build && yarn jest -i && yarn test:flow && yarn test:mixed-versions", |
| 16 | + "test:all": "yarn small-build && yarn jest -i && yarn test:flow && yarn test:mixed-versions", |
18 | 17 | "test:webpack": "node scripts/webpack-regression-tests.js", |
19 | 18 | "test:flow": "node_modules/.bin/flow check", |
20 | | - "test:performance": |
21 | | - "npm run small-build && PERSIST=true time node --expose-gc test/perf/index.js", |
22 | | - "test:travis": |
23 | | - "yarn test:all && yarn test:performance && yarn test -i --coverage && yarn test:webpack && yarn size", |
24 | | - "prettier": |
25 | | - "prettier --write --print-width 100 --tab-width 4 --no-semi \"**/*.js\" \"**/*.jsx\" \"**/*.tsx\" \"**/*.ts\"", |
| 19 | + "test:performance": "npm run small-build && PERSIST=true time node --expose-gc test/perf/index.js", |
| 20 | + "test:travis": "yarn test:all && yarn test:performance && yarn test -i --coverage && yarn test:webpack && yarn size", |
| 21 | + "prettier": "prettier --write --print-width 100 --tab-width 4 --no-semi \"**/*.js\" \"**/*.jsx\" \"**/*.tsx\" \"**/*.ts\"", |
26 | 22 | "_prepublish": "npm run small-build", |
27 | 23 | "quick-build": "tsc --pretty", |
28 | 24 | "small-build": "node scripts/build.js", |
29 | | - "lint": |
30 | | - "tslint -c tslint.json src/*.ts src/types/*.ts src/api/*.ts src/core/*.ts src/utils/*.ts", |
| 25 | + "lint": "tslint -c tslint.json src/*.ts src/types/*.ts src/api/*.ts src/core/*.ts src/utils/*.ts", |
31 | 26 | "size": "size-limit --babili 20KB lib/mobx.js", |
32 | 27 | "precommit": "lint-staged", |
33 | 28 | "publish-script": "node scripts/publish.js" |
|
41 | 36 | "bugs": { |
42 | 37 | "url": "https://github.com/mobxjs/mobx/issues" |
43 | 38 | }, |
44 | | - "files": ["lib", "LICENSE"], |
| 39 | + "files": [ |
| 40 | + "lib", |
| 41 | + "LICENSE" |
| 42 | + ], |
45 | 43 | "homepage": "https://mobx.js.org/", |
46 | 44 | "devDependencies": { |
47 | 45 | "@types/jest": "^21.1.9", |
|
105 | 103 | "^.+\\.jsx?$": "babel-jest" |
106 | 104 | }, |
107 | 105 | "testRegex": "test/base/.*\\.(t|j)sx?$", |
108 | | - "moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json"], |
109 | | - "testPathIgnorePatterns": ["/node_modules/", "/\\./"], |
110 | | - "watchPathIgnorePatterns": ["<rootDir>/node_modules/"] |
| 106 | + "moduleFileExtensions": [ |
| 107 | + "ts", |
| 108 | + "tsx", |
| 109 | + "js", |
| 110 | + "jsx", |
| 111 | + "json" |
| 112 | + ], |
| 113 | + "testPathIgnorePatterns": [ |
| 114 | + "/node_modules/", |
| 115 | + "/\\./" |
| 116 | + ], |
| 117 | + "watchPathIgnorePatterns": [ |
| 118 | + "<rootDir>/node_modules/" |
| 119 | + ] |
111 | 120 | } |
112 | 121 | } |
0 commit comments