|
1 | 1 | { |
2 | 2 | "name": "js-scroll-effect-module", |
3 | | - "version": "0.3.0", |
| 3 | + "version": "0.4.0", |
4 | 4 | "description": "Add effect at scroll.", |
5 | 5 | "keywords": [ |
6 | 6 | "scroll", |
|
17 | 17 | "main": "./dist/js-scroll-effect-module.js", |
18 | 18 | "scripts": { |
19 | 19 | "start": "npm install && npm run develop", |
20 | | - "develop": "npm-run-all -p build:webpack server", |
21 | | - "server": "browser-sync start --server ./ --directory ./sample --files **/*.css **/*.js **/*.html", |
22 | | - "build:webpack": "webpack --progress --colors --watch" |
| 20 | + "develop": "npm-run-all -p build:develop server:develop", |
| 21 | + "server:develop": "browser-sync start --server ./ --directory ./sample --files **/*.css **/*.js **/*.html", |
| 22 | + "build:develop": "webpack --mode=development --progress --colors --watch", |
| 23 | + "production": "npm-run-all -p build:production server:production", |
| 24 | + "server:production": "browser-sync start --server ./ --directory ./sample --files **/*.css **/*.js **/*.html", |
| 25 | + "build:production": "webpack --mode=production --progress --colors --watch", |
| 26 | + "test": "mocha --compilers js:babel-core/register" |
23 | 27 | }, |
24 | 28 | "repository": { |
25 | 29 | "type": "git", |
|
30 | 34 | "email": "tatsuya.yamamoto69@gmail.com" |
31 | 35 | }, |
32 | 36 | "devDependencies": { |
33 | | - "babel-cli": "^6.26.0", |
34 | | - "babel-core": "^6.26.0", |
35 | | - "babel-loader": "^7.1.4", |
36 | | - "babel-preset-env": "^1.6.1", |
| 37 | + "@babel/cli": "^7.2.3", |
| 38 | + "@babel/core": "^7.2.2", |
| 39 | + "@babel/plugin-transform-object-assign": "^7.2.0", |
| 40 | + "@babel/preset-env": "^7.3.1", |
| 41 | + "babel-loader": "^8.0.5", |
37 | 42 | "browser-sync": "^2.23.6", |
| 43 | + "eslint": "^5.12.0", |
| 44 | + "eslint-loader": "^2.1.1", |
| 45 | + "mocha": "^5.2.0", |
38 | 46 | "npm-run-all": "^4.1.2", |
39 | | - "webpack": "^4.27.1", |
40 | | - "webpack-cli": "^3.1.2" |
| 47 | + "webpack": "^4.28.4", |
| 48 | + "webpack-cli": "^3.2.1" |
41 | 49 | }, |
42 | 50 | "dependencies": { |
43 | 51 | "@yama-dev/js-dom": "0.0.6" |
| 52 | + }, |
| 53 | + "eslintConfig": { |
| 54 | + "env": { |
| 55 | + "browser": true, |
| 56 | + "commonjs": true, |
| 57 | + "es6": true, |
| 58 | + "jquery": true, |
| 59 | + "node": true |
| 60 | + }, |
| 61 | + "extends": "eslint:recommended", |
| 62 | + "parserOptions": { |
| 63 | + "ecmaFeatures": { |
| 64 | + "jsx": true |
| 65 | + }, |
| 66 | + "ecmaVersion": 2018, |
| 67 | + "sourceType": "module" |
| 68 | + }, |
| 69 | + "plugins": [], |
| 70 | + "rules": { |
| 71 | + "indent": [ |
| 72 | + "error", |
| 73 | + 2, |
| 74 | + { |
| 75 | + "outerIIFEBody": 0 |
| 76 | + } |
| 77 | + ], |
| 78 | + "quotes": [ |
| 79 | + "error", |
| 80 | + "single" |
| 81 | + ], |
| 82 | + "semi": [ |
| 83 | + "error", |
| 84 | + "always" |
| 85 | + ], |
| 86 | + "no-console": "warn", |
| 87 | + "no-unused-vars": "warn" |
| 88 | + } |
44 | 89 | } |
45 | 90 | } |
0 commit comments