Skip to content

Commit c42283a

Browse files
authored
Merge branch 'master' into ft/oas3-tio
2 parents c90f671 + ae58f61 commit c42283a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Swagger-JS
55

66
## New!
77

8-
**This is the new version of swagger-js, 3.x. Want to learn more? Check out our [FAQ](http://swagger.io/new-ui-faq/).**
8+
**This is the new version of swagger-js, 3.x. Want to learn more? Check out our [FAQ](https://github.com/swagger-api/swagger-js/blob/master/docs/MIGRATION_2_X.md).**
99

1010
For the older version of swagger-js, refer to the [*2.x branch*](https://github.com/swagger-api/swagger-js/tree/2.x).
1111

package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
"deps_check_dir": ".deps_check"
1717
},
1818
"scripts": {
19-
"build": "NODE_ENV=production webpack -p --config ./webpack.config.js",
20-
"build-bundle": "NODE_ENV=production webpack -p --config ./webpack.bundle.config.js",
19+
"build": "cross-env NODE_ENV=production webpack -p --config ./webpack.config.js",
20+
"build-bundle": "cross-env NODE_ENV=production webpack -p --config ./webpack.bundle.config.js",
2121
"watch": "webpack --config webpack.config.js --watch --progress",
2222
"test": "npm run just-test && npm run lint",
23-
"just-test": "NODE_ENV=test node ./node_modules/.bin/_mocha --recursive --compilers js:babel-core/register",
24-
"test:watch": "npm run just-test -- -w",
23+
"just-test": "cross-env NODE_ENV=test node ./node_modules/.bin/_mocha --recursive --compilers js:babel-core/register",
24+
"test:watch": "npm run test -- -w",
2525
"lint": "eslint src/ test/",
2626
"deps-license": "license-checker --production --csv --out $npm_package_config_deps_check_dir/licenses.csv && license-checker --development --csv --out $npm_package_config_deps_check_dir/licenses-dev.csv",
2727
"deps-size": "webpack -p --config webpack.check.js --json | webpack-bundle-size-analyzer >| $npm_package_config_deps_check_dir/sizes.txt",
@@ -44,6 +44,7 @@
4444
"babel-plugin-transform-runtime": "6.15.0",
4545
"babel-preset-es2015": "^6.22.0",
4646
"clone": "^2.1.0",
47+
"cross-env": "^5.0.5",
4748
"deepmerge": "^1.3.0",
4849
"eslint": "^3.18.0",
4950
"eslint-config-airbnb-base": "^11.1.1",

0 commit comments

Comments
 (0)