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

135 lines
3.7 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-04-23 19:41:26 +00:00
"version": "2.2.0",
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",
2016-10-05 23:52:50 +00:00
"files": [
"dist",
"babel.js",
"link.js",
"css.js",
2016-12-16 19:25:40 +00:00
"head.js",
"document.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": "fly",
"release": "fly release",
"pretestonly": "fly 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": "fly posttest",
"pretest": "npm run lint",
"test": "npm run testonly -- --coverage --forceExit --runInBand --verbose --bail",
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": [
"**/node_modules/**"
]
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",
"babel-core": "6.24.0",
"babel-generator": "6.24.1",
"babel-loader": "7.0.0",
"babel-plugin-module-resolver": "2.6.2",
2017-02-16 22:53:39 +00:00
"babel-plugin-react-require": "3.0.0",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-es2015-modules-commonjs": "6.24.1",
"babel-plugin-transform-object-rest-spread": "6.22.0",
2017-02-16 22:53:39 +00:00
"babel-plugin-transform-react-jsx-source": "6.22.0",
"babel-plugin-transform-react-remove-prop-types": "0.4.2",
"babel-plugin-transform-runtime": "6.22.0",
"babel-preset-env": "1.3.3",
"babel-preset-react": "6.24.1",
"babel-runtime": "6.23.0",
"case-sensitive-paths-webpack-plugin": "2.0.0",
"cross-spawn": "5.1.0",
2016-10-17 03:55:33 +00:00
"del": "2.2.2",
"etag": "1.8.0",
"fresh": "0.5.0",
"friendly-errors-webpack-plugin": "1.5.0",
"glob": "7.1.1",
2016-12-18 15:36:46 +00:00
"glob-promise": "3.1.0",
2016-10-05 23:52:50 +00:00
"htmlescape": "1.1.1",
"http-status": "1.0.1",
"is-windows-bash": "1.0.3",
"json-loader": "0.5.4",
"loader-utils": "1.1.0",
"md5-file": "3.1.1",
2016-10-05 23:52:50 +00:00
"minimist": "1.2.0",
"mitt": "1.1.1",
"mkdirp-then": "1.2.0",
2017-02-16 22:53:39 +00:00
"mv": "2.1.1",
"mz": "2.6.0",
2016-10-05 23:52:50 +00:00
"path-match": "1.2.4",
"pkg-up": "1.0.0",
"prop-types": "15.5.7",
2016-10-14 15:05:08 +00:00
"react-hot-loader": "3.0.0-beta.6",
"send": "0.15.2",
"source-map-support": "0.4.15",
2016-11-04 10:29:39 +00:00
"strip-ansi": "3.0.1",
"styled-jsx": "0.5.7",
"touch": "1.0.0",
"unfetch": "2.1.2",
2016-10-05 23:52:50 +00:00
"url": "0.11.0",
"uuid": "3.0.1",
"webpack": "2.4.0",
"webpack-dev-middleware": "1.10.2",
"webpack-hot-middleware": "2.18.0",
"write-file-webpack-plugin": "4.0.2"
2016-10-05 23:52:50 +00:00
},
"devDependencies": {
"babel-eslint": "7.2.3",
2017-02-16 22:53:39 +00:00
"babel-jest": "18.0.0",
"babel-plugin-istanbul": "4.1.3",
"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",
"chromedriver": "2.29.0",
"coveralls": "2.13.1",
"cross-env": "4.0.0",
"fly": "2.0.5",
2017-02-16 22:53:39 +00:00
"fly-babel": "2.1.1",
"fly-clear": "1.0.1",
"fly-esnext": "2.0.1",
2017-02-16 22:53:39 +00:00
"fly-watch": "1.1.1",
"husky": "0.13.3",
"jest-cli": "19.0.1",
"lint-staged": "^3.4.0",
2017-02-16 22:53:39 +00:00
"node-fetch": "1.6.3",
"node-notifier": "5.1.2",
"nyc": "10.3.0",
"react": "15.5.3",
"react-dom": "15.5.3",
"standard": "9.0.2",
"wd": "1.2.0"
},
"peerDependencies": {
2017-02-17 12:24:50 +00:00
"react": "^15.4.2",
"react-dom": "^15.4.2"
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
}