1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/package.json

151 lines
4.3 KiB
JSON
Raw Normal View History

2016-10-05 23:52:50 +00:00
{
2016-10-25 06:11:00 +00:00
"name": "next",
2017-12-08 23:17:23 +00:00
"version": "4.3.0-canary.1",
2016-10-25 18:47:03 +00:00
"description": "Minimalistic framework for server-rendered React applications",
"main": "./dist/server/next.js",
2016-10-10 04:18:56 +00:00
"license": "MIT",
"repository": "zeit/next.js",
"bugs": "https://github.com/zeit/next.js/issues",
"homepage": "https://github.com/zeit/next.js",
2016-10-05 23:52:50 +00:00
"files": [
"dist",
"babel.js",
"client.js",
"link.js",
"css.js",
2016-12-16 19:25:40 +00:00
"head.js",
"document.js",
"dynamic.js",
2016-12-22 01:40:26 +00:00
"prefetch.js",
2017-02-08 19:59:33 +00:00
"router.js",
"error.js"
2016-10-05 23:52:50 +00:00
],
"bin": {
"next": "./dist/bin/next"
},
"scripts": {
"build": "taskr",
"release": "taskr release",
"pretestonly": "taskr pretest",
New test setup (#640) * Use jest-cli instead of gulp plugin. * Use jest-cli instead of gulp plugin. * Move fixtures into the examples dir. * Move test code of example app to the basic example. * Add isolated tests for server/resolve * Allow tests to use cheerio. * Use portfinder to get a unique port. * Move back integration tests into the example dir. * Introduce next-test-utils. * Remove gulp-jest * Add coveralls support. * Use transpiled version of code in dist. This is to make sure same file gets covered by both unit/isolated tests and integration tests. * Add support for source maps. * Use code from dist always. * Use nyc to stop instrument. * Add integration test suite for production usage. * Use jest-cli. * Add support for running e2e tests. * Check gzipPath with fs.stat before serving Otherwise, serve package might throw issues other than ENOENT * Install chromedriver with npm install. * Install chrome on travis-ci. * Add --forceExit to Jest. * Run tests only on Node v6. That's because selenium-webdriver only supports Node 6 LTS. * Use chromedriver NPM module to install chromedriver. * Use wd as the webdriver client. * Run chromedriver before tests. * Run travis for both node 4 and 6 * Remove unwanted npm install script. * Move some common text utilities to next-test-utils * Add lint checks and testing in npm prepublish hook. * Use npm on travis-ci. We are having some caching issues with yarn and chromedriver. * Make tests work on windows.\n But chromedriver doesn't work. * Clean up dependencies. * Run chromedriver in background without any tools. * Fix a typo in the code. * Use ES6 features used in node4 inside the gulpfile. * Add some comments. * Add support for running in windows. * Stop chromedriver properly on windows. * Fix typos.
2017-01-12 04:14:49 +00:00
"testonly": "cross-env NODE_PATH=test/lib jest \\.test.js",
"posttestonly": "taskr posttest",
"testall": "npm run testonly -- --coverage --forceExit --runInBand --verbose --bail",
"pretest": "npm run lint",
"test": "cross-env npm run testall || npm run testall",
New test setup (#640) * Use jest-cli instead of gulp plugin. * Use jest-cli instead of gulp plugin. * Move fixtures into the examples dir. * Move test code of example app to the basic example. * Add isolated tests for server/resolve * Allow tests to use cheerio. * Use portfinder to get a unique port. * Move back integration tests into the example dir. * Introduce next-test-utils. * Remove gulp-jest * Add coveralls support. * Use transpiled version of code in dist. This is to make sure same file gets covered by both unit/isolated tests and integration tests. * Add support for source maps. * Use code from dist always. * Use nyc to stop instrument. * Add integration test suite for production usage. * Use jest-cli. * Add support for running e2e tests. * Check gzipPath with fs.stat before serving Otherwise, serve package might throw issues other than ENOENT * Install chromedriver with npm install. * Install chrome on travis-ci. * Add --forceExit to Jest. * Run tests only on Node v6. That's because selenium-webdriver only supports Node 6 LTS. * Use chromedriver NPM module to install chromedriver. * Use wd as the webdriver client. * Run chromedriver before tests. * Run travis for both node 4 and 6 * Remove unwanted npm install script. * Move some common text utilities to next-test-utils * Add lint checks and testing in npm prepublish hook. * Use npm on travis-ci. We are having some caching issues with yarn and chromedriver. * Make tests work on windows.\n But chromedriver doesn't work. * Clean up dependencies. * Run chromedriver in background without any tools. * Fix a typo in the code. * Use ES6 features used in node4 inside the gulpfile. * Add some comments. * Add support for running in windows. * Stop chromedriver properly on windows. * Fix typos.
2017-01-12 04:14:49 +00:00
"coveralls": "nyc --instrument=false --source-map=false report --temp-directory=./coverage --reporter=text-lcov | coveralls",
"lint": "standard 'bin/*' 'client/**/*.js' 'examples/**/*.js' 'lib/**/*.js' 'pages/**/*.js' 'server/**/*.js' 'test/**/*.js'",
2017-02-17 05:02:07 +00:00
"prepublish": "npm run release",
"precommit": "lint-staged"
2016-10-05 23:52:50 +00:00
},
2016-10-25 18:47:03 +00:00
"standard": {
"parser": "babel-eslint",
"ignore": [
Merge v3-beta into master (#2809) * Add examples/with-redux-code-splitting. (#2721) * #1757 Relay Modern Example (#2696) * Add ReasonML example (#2640) * Add ReasonML example * Add a gitignore specifically for the reasonml example * Allow custom className for <Main /> (#2802) * 3.0.2 * Remove beta information from the README. * 3.0.3 * Remove unnecessary lookup in example with emotion (#2731) * Document SCSS/Less (#2742) * Document SCSS/Less * Add missing word * Add docs for examples dir * Add extra example * uppercase J * Add with pkg example (#2751) * Add custom server micro example (#2750) * Ease running multiple examples at the same time with process.env.PORT (#2753) * Add line-height rule for error page h2 (#2761) * Add support for fetching multiple translation files (#2743) * Add support for fetching multiple translation files * Cleanup * Clear missed interval (#2611) * clear missed interval * remove trailing whitespace * Relay Modern Example (#1757) (#2773) * Simplification of Relay Modern Example (#1757) (#2776) * Use deterministic names for dynamic import (#2788) * Always use the same name for the same dynamic import. * Add unit tests for the modulePath generation. * Allow tests to run correctly on Windows. * Make the chunk name a bit pretty. * Fix tests to run on Windows. * 3.0.4 * Revert "Make the chunk name a bit pretty." (#2792) This reverts commit 0c9e8cf2271955e74ab9f752b5869b98c1dc60f9. * 3.0.5 * Use _ as the divider for dynamic import name splitter. (#2793) Using - gives us some weird webpack errors. * 3.0.6 * next/dynamic Error Message Tweaks (#2798) * Fixed issue (#2804) https://github.com/zeit/next.js/issues/2800 * docs(material-ui): move the source code to Material-UI repository (#2808)
2017-08-27 20:13:35 +00:00
"**/node_modules/**",
"**/examples/**/lib/**"
]
2016-10-25 18:47:03 +00:00
},
"lint-staged": {
"*.js": "standard",
"bin/*": "standard"
},
2016-10-05 23:52:50 +00:00
"dependencies": {
"ansi-html": "0.0.7",
2017-09-27 18:11:02 +00:00
"babel-core": "6.26.0",
"babel-generator": "6.26.0",
"babel-loader": "7.1.2",
"babel-plugin-module-resolver": "2.7.1",
2017-02-16 22:53:39 +00:00
"babel-plugin-react-require": "3.0.0",
2017-04-17 15:33:40 +00:00
"babel-plugin-syntax-dynamic-import": "6.18.0",
"babel-plugin-transform-class-properties": "6.24.1",
2017-09-27 18:11:02 +00:00
"babel-plugin-transform-es2015-modules-commonjs": "6.26.0",
"babel-plugin-transform-object-rest-spread": "6.26.0",
2017-02-16 22:53:39 +00:00
"babel-plugin-transform-react-jsx-source": "6.22.0",
2017-09-27 18:11:02 +00:00
"babel-plugin-transform-react-remove-prop-types": "0.4.8",
"babel-plugin-transform-runtime": "6.23.0",
"babel-preset-env": "1.6.0",
"babel-preset-react": "6.24.1",
2017-09-27 18:11:02 +00:00
"babel-runtime": "6.26.0",
"babel-template": "6.26.0",
"case-sensitive-paths-webpack-plugin": "2.1.1",
"cross-spawn": "5.1.0",
"del": "3.0.0",
2017-09-27 18:11:02 +00:00
"etag": "1.8.1",
"find-up": "2.1.0",
2017-09-27 18:11:02 +00:00
"fresh": "0.5.2",
"friendly-errors-webpack-plugin": "1.6.1",
"glob": "7.1.2",
"glob-promise": "3.3.0",
2017-09-27 18:11:02 +00:00
"hoist-non-react-statics": "2.3.1",
2016-10-05 23:52:50 +00:00
"htmlescape": "1.1.1",
"http-status": "1.0.1",
2017-09-27 18:11:02 +00:00
"json-loader": "0.5.7",
"loader-utils": "1.1.0",
2017-09-27 18:11:02 +00:00
"md5-file": "3.2.3",
2016-10-05 23:52:50 +00:00
"minimist": "1.2.0",
"mkdirp-then": "1.2.0",
2017-02-16 22:53:39 +00:00
"mv": "2.1.1",
2017-09-27 18:11:02 +00:00
"mz": "2.7.0",
2016-10-05 23:52:50 +00:00
"path-match": "1.2.4",
"pkg-up": "2.0.0",
2017-09-27 18:11:02 +00:00
"prop-types": "15.6.0",
"prop-types-exact": "1.1.1",
"react-hot-loader": "3.1.1",
"recursive-copy": "2.0.6",
Update exposed package to avoid DoS (#3080) Running nsp check ``` ➜ web git:(master) nsp check (+) 1 vulnerabilities found ┌───────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ │ Regular Expression Denial of Service │ ├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ Name │ mime │ ├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ CVSS │ 7.5 (High) │ ├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ Installed │ 1.3.4 │ ├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ Vulnerable │ < 1.4.1 || > 2.0.0 < 2.0.3 │ ├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ Patched │ >= 1.4.1 < 2.0.0 || >= 2.0.3 │ ├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ Path │ web@1.0.0 > next@4.0.1 > send@0.15.6 > mime@1.3.4 │ ├───────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────────┤ │ More Info │ https://nodesecurity.io/advisories/535 │ └───────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ ``` This is a dependency of send which already upgraded this in order to not be exposed to this known error. https://github.com/pillarjs/send/blob/master/HISTORY.md
2017-10-14 21:52:15 +00:00
"send": "0.16.1",
2017-09-27 18:11:02 +00:00
"source-map-support": "0.4.18",
"strip-ansi": "3.0.1",
"styled-jsx": "2.2.1",
"touch": "3.1.0",
"unfetch": "3.0.0",
2016-10-05 23:52:50 +00:00
"url": "0.11.0",
"uuid": "3.1.0",
"walk": "2.3.9",
2017-09-27 18:11:02 +00:00
"webpack": "3.6.0",
"webpack-dev-middleware": "1.12.0",
"webpack-hot-middleware": "2.19.1",
"write-file-webpack-plugin": "4.2.0",
"xss-filters": "1.2.7",
"uglifyjs-webpack-plugin": "^1.1.1"
2016-10-05 23:52:50 +00:00
},
"devDependencies": {
2017-09-27 18:11:02 +00:00
"@taskr/babel": "1.1.0",
"@taskr/clear": "1.1.0",
"@taskr/esnext": "1.1.0",
"@taskr/watch": "1.1.0",
"babel-eslint": "8.0.1",
"babel-jest": "21.2.0",
"babel-plugin-istanbul": "4.1.5",
"babel-plugin-transform-remove-strict-mode": "0.0.2",
"babel-preset-es2015": "6.24.1",
"benchmark": "2.1.4",
2017-02-16 22:53:39 +00:00
"cheerio": "0.22.0",
2017-09-27 18:11:02 +00:00
"chromedriver": "2.32.3",
"coveralls": "2.13.1",
2017-09-27 18:11:02 +00:00
"cross-env": "5.0.5",
"express": "4.15.5",
"fkill": "5.1.0",
"husky": "0.14.3",
2017-09-27 18:11:02 +00:00
"jest-cli": "21.2.0",
"lint-staged": "4.2.3",
"node-fetch": "1.7.3",
"node-notifier": "5.1.2",
2017-09-27 18:11:02 +00:00
"nyc": "11.2.1",
"portfinder": "1.0.13",
"react": "16.2.0",
"react-dom": "16.2.0",
"standard": "9.0.2",
2017-09-27 18:11:02 +00:00
"taskr": "1.1.0",
"wd": "1.4.1"
},
"peerDependencies": {
"react": "^16.0.0",
"react-dom": "^16.0.0"
2016-12-12 12:31:49 +00:00
},
"jest": {
New test setup (#640) * Use jest-cli instead of gulp plugin. * Use jest-cli instead of gulp plugin. * Move fixtures into the examples dir. * Move test code of example app to the basic example. * Add isolated tests for server/resolve * Allow tests to use cheerio. * Use portfinder to get a unique port. * Move back integration tests into the example dir. * Introduce next-test-utils. * Remove gulp-jest * Add coveralls support. * Use transpiled version of code in dist. This is to make sure same file gets covered by both unit/isolated tests and integration tests. * Add support for source maps. * Use code from dist always. * Use nyc to stop instrument. * Add integration test suite for production usage. * Use jest-cli. * Add support for running e2e tests. * Check gzipPath with fs.stat before serving Otherwise, serve package might throw issues other than ENOENT * Install chromedriver with npm install. * Install chrome on travis-ci. * Add --forceExit to Jest. * Run tests only on Node v6. That's because selenium-webdriver only supports Node 6 LTS. * Use chromedriver NPM module to install chromedriver. * Use wd as the webdriver client. * Run chromedriver before tests. * Run travis for both node 4 and 6 * Remove unwanted npm install script. * Move some common text utilities to next-test-utils * Add lint checks and testing in npm prepublish hook. * Use npm on travis-ci. We are having some caching issues with yarn and chromedriver. * Make tests work on windows.\n But chromedriver doesn't work. * Clean up dependencies. * Run chromedriver in background without any tools. * Fix a typo in the code. * Use ES6 features used in node4 inside the gulpfile. * Add some comments. * Add support for running in windows. * Stop chromedriver properly on windows. * Fix typos.
2017-01-12 04:14:49 +00:00
"testEnvironment": "node",
"roots": [
New test setup (#640) * Use jest-cli instead of gulp plugin. * Use jest-cli instead of gulp plugin. * Move fixtures into the examples dir. * Move test code of example app to the basic example. * Add isolated tests for server/resolve * Allow tests to use cheerio. * Use portfinder to get a unique port. * Move back integration tests into the example dir. * Introduce next-test-utils. * Remove gulp-jest * Add coveralls support. * Use transpiled version of code in dist. This is to make sure same file gets covered by both unit/isolated tests and integration tests. * Add support for source maps. * Use code from dist always. * Use nyc to stop instrument. * Add integration test suite for production usage. * Use jest-cli. * Add support for running e2e tests. * Check gzipPath with fs.stat before serving Otherwise, serve package might throw issues other than ENOENT * Install chromedriver with npm install. * Install chrome on travis-ci. * Add --forceExit to Jest. * Run tests only on Node v6. That's because selenium-webdriver only supports Node 6 LTS. * Use chromedriver NPM module to install chromedriver. * Use wd as the webdriver client. * Run chromedriver before tests. * Run travis for both node 4 and 6 * Remove unwanted npm install script. * Move some common text utilities to next-test-utils * Add lint checks and testing in npm prepublish hook. * Use npm on travis-ci. We are having some caching issues with yarn and chromedriver. * Make tests work on windows.\n But chromedriver doesn't work. * Clean up dependencies. * Run chromedriver in background without any tools. * Fix a typo in the code. * Use ES6 features used in node4 inside the gulpfile. * Add some comments. * Add support for running in windows. * Stop chromedriver properly on windows. * Fix typos.
2017-01-12 04:14:49 +00:00
"test/"
]
2016-10-10 04:18:56 +00:00
}
2016-10-05 23:52:50 +00:00
}