Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure app build and tslint processes run prior in the build gate #132

Merged
merged 15 commits into from
Mar 27, 2018
Merged
Prev Previous commit
Next Next commit
formatting imports
  • Loading branch information
nicholasrice committed Mar 27, 2018
commit 76eba256edb3f63868b0d808cca245c00c10cac9
10 changes: 5 additions & 5 deletions packages/fast-animation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
"name": "Microsoft Corporation"
},
"scripts": {
"build-test-app": "webpack --config webpack/webpack.react.config.js",
"prepare": "tsc -p ./lib/tsconfig.json",
"unit-tests": "jest",
"start": "node_modules/.bin/webpack-dev-server --config webpack/webpack.react.config.js --progress",
"test": "npm run unit-tests && npm run build-test-app",
"tslint": "tslint -c ./tslint.json \"**/*.ts\" \"**/*.tsx\"",
"tslint:fix": "tslint -c ./tslint.json --fix \"**/*.ts\" \"**/*.tsx\"",
"build-test-app": "webpack --config webpack/webpack.react.config.js",
"start": "node_modules/.bin/webpack-dev-server --config webpack/webpack.react.config.js --progress"
"tslint": "tslint -c ./tslint.json **/*.ts{,x}",
"tslint:fix": "tslint -c ./tslint.json --fix **/*.ts{,x}",
"unit-tests": "jest"
},
"devDependencies": {
"@microsoft/fast-tslint-rules": "^1.0.4",
Expand Down
8 changes: 4 additions & 4 deletions packages/fast-browser-extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"private": true,
"main": "dist/index.js",
"scripts": {
"dev:chrome": "cross-env TARGET_BROWSER=chrome NODE_ENV=development ts-node ./node_modules/webpack/bin/webpack.js --progress",
"build:chrome": "cross-env TARGET_BROWSER=chrome NODE_ENV=production ts-node ./node_modules/webpack/bin/webpack.js --progress",
"build:interface": "tsc -p ./tsconfig.json",
"tslint": "tslint -c ./tslint.json \"**/*.ts\" \"**/*.tsx\"",
"tslint:fix": "tslint -c ./tslint.json --fix \"**/*.ts\" \"**/*.tsx\"",
"dev:chrome": "cross-env TARGET_BROWSER=chrome NODE_ENV=development ts-node ./node_modules/webpack/bin/webpack.js --progress",
"prepack": "rm -rf ./dist && npm run build:interface",
"test": "npm run tslint && npm run build:interface && npm run build:chrome",
"prepack": "rm -rf ./dist && npm run build:interface"
"tslint": "tslint -c ./tslint.json **/*.ts{,x}",
"tslint:fix": "tslint -c ./tslint.json --fix **/*.ts{,x}"
},
"devDependencies": {
"@microsoft/fast-tslint-rules": "^1.0.4",
Expand Down
4 changes: 2 additions & 2 deletions packages/fast-components-class-name-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"clean:dist": "node ../../build/clean.js dist",
"prepare": "npm run clean:dist && tsc -p ./tsconfig.json",
"test": "npm run tslint",
"tslint": "tslint -c ./tslint.json \"**/*.ts\" \"**/*.tsx\"",
"tslint:fix": "tslint -c ./tslint.json --fix \"**/*.ts\" \"**/*.tsx\""
"tslint": "tslint -c ./tslint.json **/*.ts{,x}",
"tslint:fix": "tslint -c ./tslint.json --fix **/*.ts{,x}"
},
"author": "",
"license": "MIT",
Expand Down
8 changes: 4 additions & 4 deletions packages/fast-components-react-base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"prepare": "npm run clean:dist && tsc -p ./tsconfig.json",
"clean:dist": "node ../../build/clean.js dist",
"prepare": "npm run clean:dist && tsc -p ./tsconfig.json",
"start": "webpack-dev-server",
"test": "npm run tslint && npm run unit-tests && webpack --progress",
"tslint": "tslint -c ./tslint.json **/*.ts{,x}",
"tslint:fix": "tslint -c ./tslint.json --fix **/*.ts{,x}",
"unit-tests": "jest",
"unit-tests:watch": "jest --watch",
"tslint": "tslint -c ./tslint.json \"**/*.ts\" \"**/*.tsx\"",
"tslint:fix": "tslint -c ./tslint.json --fix \"**/*.ts\" \"**/*.tsx\""
"unit-tests:watch": "jest --watch"
},
"license": "MIT",
"readme": "README.md",
Expand Down
6 changes: 3 additions & 3 deletions packages/fast-jss-manager-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
"typings": "dist/index.d.ts",
"scripts": {
"prepare": "tsc -p ./tsconfig.json",
"unit-test": "jest",
"unit-test:watch": "jest --watch && npm-watch",
"test": "npm run tslint && npm run unit-test",
"tslint": "tslint -c tslint.json ./src/**/*.ts{,x}",
"tslint:fix": "tslint -c tslint.json ./src/**/*.ts{,x} --fix",
"tslint:watch": "node build/tslint-watch.js"
"tslint:watch": "node build/tslint-watch.js",
"unit-test": "jest",
"unit-test:watch": "jest --watch && npm-watch"
},
"license": "MIT",
"readme": "README.md",
Expand Down
4 changes: 2 additions & 2 deletions packages/fast-permutator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"main": "index.js",
"registry": "https://registry.npmjs.org/",
"scripts": {
"test": "eslint src/** && jest",
"prepare": "babel src --presets babel-preset-es2015 --out-dir dist"
"prepare": "babel src --presets babel-preset-es2015 --out-dir dist",
"test": "eslint src/** && jest"
},
"jest": {
"testPathIgnorePatterns": [
Expand Down
8 changes: 4 additions & 4 deletions packages/fast-viewer-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"description": "An initial implementation of a React iframe that is self-contained.",
"main": "dist/index.js",
"scripts": {
"unit-tests": "jest",
"unit-tests:update": "jest --update",
"start": "webpack-dev-server --progress",
"prepare": "tsc -p ./src/tsconfig.json",
"start": "webpack-dev-server --progress",
"test": "npm run tslint && npm run unit-tests && webpack --progress",
"tslint": "tslint -c tslint.json ./src/**/*.ts{,x}",
"tslint:fix": "tslint -c tslint.json ./src/**/*.ts{,x} --fix"
"tslint:fix": "tslint -c tslint.json ./src/**/*.ts{,x} --fix",
"unit-tests": "jest",
"unit-tests:update": "jest --update"
},
"repository": {
"type": "git",
Expand Down