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

144 lines
4.1 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-07-15 10:56:25 +00:00
"version": "3.0.1-beta.14",
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",
"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",
"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.25.0",
"babel-generator": "6.25.0",
"babel-loader": "7.1.1",
"babel-plugin-module-resolver": "2.6.2",
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",
"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.5",
"babel-plugin-transform-runtime": "6.22.0",
"babel-preset-env": "1.6.0",
"babel-preset-react": "6.24.1",
"babel-runtime": "6.23.0",
"babel-template": "6.25.0",
"case-sensitive-paths-webpack-plugin": "2.1.1",
"cross-spawn": "5.1.0",
"del": "3.0.0",
"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",
"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",
"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": "2.0.0",
"prop-types": "15.5.10",
"prop-types-exact": "^1.1.1",
"react-hot-loader": "3.0.0-beta.7",
"recursive-copy": "^2.0.6",
"send": "^0.15.3",
"source-map-support": "0.4.15",
"strip-ansi": "4.0.0",
"styled-jsx": "^1.0.8",
"touch": "3.1.0",
"uglifyjs-webpack-plugin": "0.4.6",
"unfetch": "3.0.0",
2016-10-05 23:52:50 +00:00
"url": "0.11.0",
"uuid": "3.1.0",
"walk": "^2.3.9",
"webpack": "3.3.0",
"webpack-dev-middleware": "1.11.0",
"webpack-hot-middleware": "2.18.2",
"write-file-webpack-plugin": "4.1.0",
"xss-filters": "1.2.7"
2016-10-05 23:52:50 +00:00
},
"devDependencies": {
"@taskr/babel": "1.0.6",
"@taskr/clear": "1.0.6",
"@taskr/esnext": "1.0.0",
"@taskr/watch": "1.0.6",
"babel-eslint": "7.2.3",
"babel-jest": "20.0.3",
"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.2",
"coveralls": "2.13.1",
"cross-env": "5.0.1",
"express": "4.15.2",
"husky": "0.14.3",
"jest-cli": "20.0.4",
"lint-staged": "^4.0.0",
"node-fetch": "1.7.1",
"node-notifier": "5.1.2",
"nyc": "11.0.3",
"react": "15.5.4",
"react-dom": "15.5.4",
"standard": "9.0.2",
"taskr": "1.0.6",
"wd": "1.4.0"
},
"peerDependencies": {
"react": "^15.5.4",
"react-dom": "^15.5.4"
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
}