Skip to content

Commit cda9fe4

Browse files
committed
restoring format to package json
1 parent 595849f commit cda9fe4

1 file changed

Lines changed: 23 additions & 14 deletions

File tree

package.json

Lines changed: 23 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,16 @@
1313
"test": "jest",
1414
"watch": "jest --watch",
1515
"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",
1817
"test:webpack": "node scripts/webpack-regression-tests.js",
1918
"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\"",
2622
"_prepublish": "npm run small-build",
2723
"quick-build": "tsc --pretty",
2824
"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",
3126
"size": "size-limit --babili 20KB lib/mobx.js",
3227
"precommit": "lint-staged",
3328
"publish-script": "node scripts/publish.js"
@@ -41,7 +36,10 @@
4136
"bugs": {
4237
"url": "https://github.com/mobxjs/mobx/issues"
4338
},
44-
"files": ["lib", "LICENSE"],
39+
"files": [
40+
"lib",
41+
"LICENSE"
42+
],
4543
"homepage": "https://mobx.js.org/",
4644
"devDependencies": {
4745
"@types/jest": "^21.1.9",
@@ -105,8 +103,19 @@
105103
"^.+\\.jsx?$": "babel-jest"
106104
},
107105
"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+
]
111120
}
112121
}

0 commit comments

Comments
 (0)