mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
![Arunoda Susiripala](/assets/img/avatar_default.png)
Earlier we add a event to init next.js when dom has loaded. But if at that time dom is already loaded, next.js won't get init ever. Now we are using domready NPM module which handle these for us.
116 lines
3 KiB
JSON
116 lines
3 KiB
JSON
{
|
|
"name": "next",
|
|
"version": "1.2.2",
|
|
"description": "Minimalistic framework for server-rendered React applications",
|
|
"main": "./dist/lib/index.js",
|
|
"license": "MIT",
|
|
"repository": "zeit/next.js",
|
|
"files": [
|
|
"dist",
|
|
"link.js",
|
|
"css.js",
|
|
"head.js"
|
|
],
|
|
"bin": {
|
|
"next": "./dist/bin/next"
|
|
},
|
|
"scripts": {
|
|
"build": "gulp",
|
|
"pretest": "npm run lint",
|
|
"test": "gulp test",
|
|
"html-report": "nyc report --reporter=html",
|
|
"ava": "cross-env NODE_ENV=test nyc ava --verbose",
|
|
"coveralls": "nyc report --reporter=text-lcov | coveralls",
|
|
"lint": "standard && standard bin/*",
|
|
"prepublish": "gulp release",
|
|
"precommit": "npm run lint"
|
|
},
|
|
"nyc": {
|
|
"require": [
|
|
"babel-core/register"
|
|
],
|
|
"exclude": [
|
|
"gulpfile.js",
|
|
"css.js",
|
|
"link.js",
|
|
"head.js",
|
|
"client/**",
|
|
"**/pages/**",
|
|
"**/coverage/**",
|
|
"**/client/**",
|
|
"**/test/**",
|
|
"**/dist/**",
|
|
"**/examples/**",
|
|
"**/bench/**"
|
|
],
|
|
"all": false,
|
|
"sourceMap": false,
|
|
"instrument": false
|
|
},
|
|
"standard": {
|
|
"parser": "babel-eslint"
|
|
},
|
|
"dependencies": {
|
|
"ansi-html": "0.0.6",
|
|
"babel-core": "6.18.2",
|
|
"babel-generator": "6.19.0",
|
|
"babel-loader": "6.2.8",
|
|
"babel-plugin-module-resolver": "2.4.0",
|
|
"babel-plugin-react-require": "^3.0.0",
|
|
"babel-plugin-transform-async-to-generator": "6.16.0",
|
|
"babel-plugin-transform-class-properties": "6.19.0",
|
|
"babel-plugin-transform-object-rest-spread": "6.19.0",
|
|
"babel-plugin-transform-runtime": "6.15.0",
|
|
"babel-preset-es2015": "6.18.0",
|
|
"babel-preset-react": "6.16.0",
|
|
"babel-runtime": "6.18.0",
|
|
"cross-spawn": "5.0.1",
|
|
"del": "2.2.2",
|
|
"domready": "1.0.8",
|
|
"friendly-errors-webpack-plugin": "1.1.1",
|
|
"glamor": "2.20.8",
|
|
"glob-promise": "2.0.0",
|
|
"htmlescape": "1.1.1",
|
|
"is-windows-bash": "1.0.2",
|
|
"json-loader": "0.5.4",
|
|
"loader-utils": "0.2.16",
|
|
"minimist": "1.2.0",
|
|
"mkdirp-then": "1.2.0",
|
|
"mz": "2.6.0",
|
|
"path-match": "1.2.4",
|
|
"react": "15.4.1",
|
|
"react-dom": "15.4.1",
|
|
"react-hot-loader": "3.0.0-beta.6",
|
|
"read-pkg-up": "2.0.0",
|
|
"send": "0.14.1",
|
|
"source-map-support": "0.4.6",
|
|
"strip-ansi": "3.0.1",
|
|
"url": "0.11.0",
|
|
"webpack": "1.13.3",
|
|
"webpack-dev-middleware": "1.8.4",
|
|
"webpack-hot-middleware": "2.13.2",
|
|
"write-file-webpack-plugin": "3.4.2"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "0.17.0",
|
|
"babel-eslint": "7.1.1",
|
|
"babel-plugin-istanbul": "3.0.0",
|
|
"babel-plugin-transform-remove-strict-mode": "0.0.2",
|
|
"benchmark": "2.1.2",
|
|
"coveralls": "2.11.15",
|
|
"cross-env": "3.1.3",
|
|
"gulp": "3.9.1",
|
|
"gulp-ava": "0.15.0",
|
|
"gulp-babel": "6.1.2",
|
|
"gulp-benchmark": "1.1.1",
|
|
"gulp-cached": "1.1.1",
|
|
"gulp-notify": "2.2.0",
|
|
"gulp-process-env": "0.0.2",
|
|
"husky": "0.11.9",
|
|
"nyc": "10.0.0",
|
|
"run-sequence": "1.2.2",
|
|
"standard": "8.6.0",
|
|
"webpack-stream": "3.2.0"
|
|
}
|
|
}
|