質問するログイン新規登録

質問編集履歴

7

書式の改善

2018/05/22 09:31

投稿

am_765
am_765

スコア7

title CHANGED
File without changes
body CHANGED
@@ -83,15 +83,17 @@
83
83
  【コンソール】
84
84
  npm ERR! code ELIFECYCLE
85
85
  npm ERR! errno 1
86
- npm ERR! sample@1.0.0 build:js: `cpx "src/**/*.js" ./dist -w -t babelify -t uglifyify`
86
+ npm ERR! sample@1.0.0 build:js: `browserify -t babelify src/**/*.js | uglifyjs -c -m > dist/**/*.js`
87
87
  npm ERR! Exit status 1
88
88
  npm ERR!
89
89
  npm ERR! Failed at the sample@1.0.0 build:js script.
90
90
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
91
-
91
+ ⠋ Minifying images
92
92
  npm ERR! A complete log of this run can be found in:
93
- npm ERR! /Users/*/.npm/_logs/2018-05-22T07_07_53_469Z-debug.log
93
+ npm ERR! /Users/*/.npm/_logs/2018-05-22T09_17_27_184Z-debug.log
94
+ (node:24881) ExperimentalWarning: The fs.promises API is experimental
95
+ 0 images minified
94
- ⠙ Processing src/css/style.pcssERROR: "build:js" exited with 1.
96
+ ERROR: "build:js" exited with 1.
95
97
  npm ERR! code ELIFECYCLE
96
98
  npm ERR! errno 1
97
99
  npm ERR! sample@1.0.0 build: `npm run clean & npm-run-all -p build:*`
@@ -101,9 +103,9 @@
101
103
  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
102
104
 
103
105
  npm ERR! A complete log of this run can be found in:
104
- npm ERR! /Users/*/.npm/_logs/2018-05-22T07_07_54_623Z-debug.log
106
+ npm ERR! /Users/*/.npm/_logs/2018-05-22T09_17_27_302Z-debug.log
105
107
 
106
- 【2018-05-22T07_07_53_469Z-debug.log】
108
+ 【2018-05-22T09_17_27_184Z-debug.log】
107
109
  0 info it worked if it ends with ok
108
110
  1 verbose cli [ '/usr/local/bin/node',
109
111
  1 verbose cli '/usr/local/lib/node_modules/npm/bin/npm-cli.js',
@@ -117,10 +119,11 @@
117
119
  7 verbose lifecycle sample@1.0.0~build:js: unsafe-perm in lifecycle true
118
120
  8 verbose lifecycle sample@1.0.0~build:js: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/npm-scripts/trial01/node_modules/.bin:/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/npm-scripts/trial01/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/*/shellscript/
119
121
  9 verbose lifecycle sample@1.0.0~build:js: CWD: /npm-scripts/trial01
122
+ 10 silly lifecycle sample@1.0.0~build:js: Args: [ '-c',
120
- 10 silly lifecycle sample@1.0.0~build:js: Args: [ '-c', 'cpx "src/**/*.js" ./dist -w -t babelify -t uglifyify' ]
123
+ 10 silly lifecycle 'browserify -t babelify src/**/*.js | uglifyjs -c -m > dist/**/*.js' ]
121
124
  11 silly lifecycle sample@1.0.0~build:js: Returned: code: 1 signal: null
122
125
  12 info lifecycle sample@1.0.0~build:js: Failed to exec build:js script
123
- 13 verbose stack Error: sample@1.0.0 build:js: `cpx "src/**/*.js" ./dist -w -t babelify -t uglifyify`
126
+ 13 verbose stack Error: sample@1.0.0 build:js: `browserify -t babelify src/**/*.js | uglifyjs -c -m > dist/**/*.js`
124
127
  13 verbose stack Exit status 1
125
128
  13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
126
129
  13 verbose stack at EventEmitter.emit (events.js:182:13)
@@ -136,13 +139,13 @@
136
139
  19 verbose npm v5.6.0
137
140
  20 error code ELIFECYCLE
138
141
  21 error errno 1
139
- 22 error sample@1.0.0 build:js: `cpx "src/**/*.js" ./dist -w -t babelify -t uglifyify`
142
+ 22 error sample@1.0.0 build:js: `browserify -t babelify src/**/*.js | uglifyjs -c -m > dist/**/*.js`
140
143
  22 error Exit status 1
141
144
  23 error Failed at the sample@1.0.0 build:js script.
142
145
  23 error This is probably not a problem with npm. There is likely additional logging output above.
143
146
  24 verbose exit [ 1, true ]
144
147
 
145
- 【2018-05-22T07_07_54_623Z-debug.log】
148
+ 【2018-05-22T09_17_27_302Z-debug.log】
146
149
  0 info it worked if it ends with ok
147
150
  1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'build' ]
148
151
  2 info using npm@5.6.0
@@ -151,8 +154,8 @@
151
154
  5 info lifecycle sample@1.0.0~prebuild: sample@1.0.0
152
155
  6 info lifecycle sample@1.0.0~build: sample@1.0.0
153
156
  7 verbose lifecycle sample@1.0.0~build: unsafe-perm in lifecycle true
154
- 8 verbose lifecycle sample@1.0.0~build: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Working Copy/mci/npm-scripts/trial01/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/*/shellscript/
155
- 9 verbose lifecycle sample@1.0.0~build: CWD: /Working Copy/mci/npm-scripts/trial01
157
+ 8 verbose lifecycle sample@1.0.0~build: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/npm-scripts/trial01/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/*/shellscript/
158
+ 9 verbose lifecycle sample@1.0.0~build: CWD: /npm-scripts/trial01
156
159
  10 silly lifecycle sample@1.0.0~build: Args: [ '-c', 'npm run clean & npm-run-all -p build:*' ]
157
160
  11 silly lifecycle sample@1.0.0~build: Returned: code: 1 signal: null
158
161
  12 info lifecycle sample@1.0.0~build: Failed to exec build script
@@ -188,17 +191,17 @@
188
191
  "clean": "rimraf dist/{css/*,js/*,images/*}",
189
192
  "build:ejs": "ejs-cli --base-dir src/ \"**/*.ejs\" -o dist/",
190
193
  "build:css": "postcss src/**/*.pcss -o dist/**/*.css --no-map",
191
- "build:js": "cpx \"src/**/*.js\" ./dist -w -t babelify -t uglifyify",
194
+ "build:js": "browserify -t babelify src/**/*.js | uglifyjs -c -m > dist/**/*.js",
192
195
  "build:images": "imagemin src/images/* -o dist/images",
193
196
  "build:copy": "cpx \"src/assets/**/(*.js|*.css)\" ./dist",
194
197
  "build": "npm run clean & npm-run-all -p build:*",
195
- "watch:css": "postcss src/css/main.pcss -o dist/css/main.css -w",
198
+ "watch:css": "postcss src/css/**.pcss -o dist/css/**.css -w",
196
- "watch:js": "watchify -t babelify src/js/main.js -o 'uglifyjs -c -m > dist/js/main.js' -v",
199
+ "watch:js": "watchify -t babelify src/**/*.js -o 'uglifyjs -c -m > dist/**/*.js' -v",
197
- "watch:images": "onchange 'src/images' -e '**/*.DS_Store' -- npm run build:images",
200
+ "watch:images": "onchange 'src/**/images' -e '**/*.DS_Store' -- npm run build:images",
198
201
  "watch:server": "browser-sync start -s -f 'dist, **/*.html, !node_modules/**/*'",
199
202
  "watch": "npm-run-all -p watch:*",
200
- "lint:css": "stylelint src/css/**/*.pcss",
203
+ "lint:css": "stylelint src/**/*.pcss",
201
- "lint:js": "eslint src/js/**/*.js",
204
+ "lint:js": "eslint src/**/*.js",
202
205
  "postinstall": "npm run build && npm run watch"
203
206
  },
204
207
  "devDependencies": {

6

書式の改善

2018/05/22 09:31

投稿

am_765
am_765

スコア7

title CHANGED
File without changes
body CHANGED
@@ -76,6 +76,8 @@
76
76
  └── postcss.config.js
77
77
 
78
78
  ### 発生している問題・エラーメッセージ
79
+
80
+ ```
79
81
  実行すると下記のエラーが出ます。
80
82
 
81
83
  【コンソール】
@@ -176,8 +178,6 @@
176
178
  23 error This is probably not a problem with npm. There is likely additional logging output above.
177
179
  24 verbose exit [ 1, true ]
178
180
  ```
179
-
180
- ```
181
181
  ### 該当のソースコード
182
182
 
183
183
  ```package.json

5

書式の改善

2018/05/22 07:23

投稿

am_765
am_765

スコア7

title CHANGED
File without changes
body CHANGED
@@ -76,20 +76,105 @@
76
76
  └── postcss.config.js
77
77
 
78
78
  ### 発生している問題・エラーメッセージ
79
- 下記のように力されてし
79
+ 実行すると下記のエラーが出ます。
80
80
 
81
- site
81
+ 【コンソール】
82
+ npm ERR! code ELIFECYCLE
83
+ npm ERR! errno 1
84
+ npm ERR! sample@1.0.0 build:js: `cpx "src/**/*.js" ./dist -w -t babelify -t uglifyify`
85
+ npm ERR! Exit status 1
82
- ├── dist
86
+ npm ERR!
83
- │ │
84
- │ ├── **
85
- │ │ └── *.css
86
- │ ├── include
87
- │ │ ├── _header.html
87
+ npm ERR! Failed at the sample@1.0.0 build:js script.
88
- │ │ └── _footer.html
88
+ npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
89
- │ └── js
90
- │ │ └── main.js
91
89
 
90
+ npm ERR! A complete log of this run can be found in:
91
+ npm ERR! /Users/*/.npm/_logs/2018-05-22T07_07_53_469Z-debug.log
92
+ ⠙ Processing src/css/style.pcssERROR: "build:js" exited with 1.
93
+ npm ERR! code ELIFECYCLE
94
+ npm ERR! errno 1
95
+ npm ERR! sample@1.0.0 build: `npm run clean & npm-run-all -p build:*`
96
+ npm ERR! Exit status 1
97
+ npm ERR!
98
+ npm ERR! Failed at the sample@1.0.0 build script.
99
+ npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
92
100
 
101
+ npm ERR! A complete log of this run can be found in:
102
+ npm ERR! /Users/*/.npm/_logs/2018-05-22T07_07_54_623Z-debug.log
103
+
104
+ 【2018-05-22T07_07_53_469Z-debug.log】
105
+ 0 info it worked if it ends with ok
106
+ 1 verbose cli [ '/usr/local/bin/node',
107
+ 1 verbose cli '/usr/local/lib/node_modules/npm/bin/npm-cli.js',
108
+ 1 verbose cli 'run',
109
+ 1 verbose cli 'build:js' ]
110
+ 2 info using npm@5.6.0
111
+ 3 info using node@v10.1.0
112
+ 4 verbose run-script [ 'prebuild:js', 'build:js', 'postbuild:js' ]
113
+ 5 info lifecycle sample@1.0.0~prebuild:js: sample@1.0.0
114
+ 6 info lifecycle sample@1.0.0~build:js: sample@1.0.0
115
+ 7 verbose lifecycle sample@1.0.0~build:js: unsafe-perm in lifecycle true
116
+ 8 verbose lifecycle sample@1.0.0~build:js: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/npm-scripts/trial01/node_modules/.bin:/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/npm-scripts/trial01/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/*/shellscript/
117
+ 9 verbose lifecycle sample@1.0.0~build:js: CWD: /npm-scripts/trial01
118
+ 10 silly lifecycle sample@1.0.0~build:js: Args: [ '-c', 'cpx "src/**/*.js" ./dist -w -t babelify -t uglifyify' ]
119
+ 11 silly lifecycle sample@1.0.0~build:js: Returned: code: 1 signal: null
120
+ 12 info lifecycle sample@1.0.0~build:js: Failed to exec build:js script
121
+ 13 verbose stack Error: sample@1.0.0 build:js: `cpx "src/**/*.js" ./dist -w -t babelify -t uglifyify`
122
+ 13 verbose stack Exit status 1
123
+ 13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
124
+ 13 verbose stack at EventEmitter.emit (events.js:182:13)
125
+ 13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
126
+ 13 verbose stack at ChildProcess.emit (events.js:182:13)
127
+ 13 verbose stack at maybeClose (internal/child_process.js:957:16)
128
+ 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:246:5)
129
+ 14 verbose pkgid sample@1.0.0
130
+ 15 verbose cwd /npm-scripts/trial01
131
+ 16 verbose Darwin 16.6.0
132
+ 17 verbose argv "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/bin/npm-cli.js" "run" "build:js"
133
+ 18 verbose node v10.1.0
134
+ 19 verbose npm v5.6.0
135
+ 20 error code ELIFECYCLE
136
+ 21 error errno 1
137
+ 22 error sample@1.0.0 build:js: `cpx "src/**/*.js" ./dist -w -t babelify -t uglifyify`
138
+ 22 error Exit status 1
139
+ 23 error Failed at the sample@1.0.0 build:js script.
140
+ 23 error This is probably not a problem with npm. There is likely additional logging output above.
141
+ 24 verbose exit [ 1, true ]
142
+
143
+ 【2018-05-22T07_07_54_623Z-debug.log】
144
+ 0 info it worked if it ends with ok
145
+ 1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'build' ]
146
+ 2 info using npm@5.6.0
147
+ 3 info using node@v10.1.0
148
+ 4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
149
+ 5 info lifecycle sample@1.0.0~prebuild: sample@1.0.0
150
+ 6 info lifecycle sample@1.0.0~build: sample@1.0.0
151
+ 7 verbose lifecycle sample@1.0.0~build: unsafe-perm in lifecycle true
152
+ 8 verbose lifecycle sample@1.0.0~build: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/Working Copy/mci/npm-scripts/trial01/node_modules/.bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/*/shellscript/
153
+ 9 verbose lifecycle sample@1.0.0~build: CWD: /Working Copy/mci/npm-scripts/trial01
154
+ 10 silly lifecycle sample@1.0.0~build: Args: [ '-c', 'npm run clean & npm-run-all -p build:*' ]
155
+ 11 silly lifecycle sample@1.0.0~build: Returned: code: 1 signal: null
156
+ 12 info lifecycle sample@1.0.0~build: Failed to exec build script
157
+ 13 verbose stack Error: sample@1.0.0 build: `npm run clean & npm-run-all -p build:*`
158
+ 13 verbose stack Exit status 1
159
+ 13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:285:16)
160
+ 13 verbose stack at EventEmitter.emit (events.js:182:13)
161
+ 13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
162
+ 13 verbose stack at ChildProcess.emit (events.js:182:13)
163
+ 13 verbose stack at maybeClose (internal/child_process.js:957:16)
164
+ 13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:246:5)
165
+ 14 verbose pkgid sample@1.0.0
166
+ 15 verbose cwd /npm-scripts/trial01
167
+ 16 verbose Darwin 16.6.0
168
+ 17 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
169
+ 18 verbose node v10.1.0
170
+ 19 verbose npm v5.6.0
171
+ 20 error code ELIFECYCLE
172
+ 21 error errno 1
173
+ 22 error sample@1.0.0 build: `npm run clean & npm-run-all -p build:*`
174
+ 22 error Exit status 1
175
+ 23 error Failed at the sample@1.0.0 build script.
176
+ 23 error This is probably not a problem with npm. There is likely additional logging output above.
177
+ 24 verbose exit [ 1, true ]
93
178
  ```
94
179
 
95
180
  ```
@@ -103,7 +188,7 @@
103
188
  "clean": "rimraf dist/{css/*,js/*,images/*}",
104
189
  "build:ejs": "ejs-cli --base-dir src/ \"**/*.ejs\" -o dist/",
105
190
  "build:css": "postcss src/**/*.pcss -o dist/**/*.css --no-map",
106
- "build:js": "mkdirp dist/js && browserify -t babelify src/js/main.js | uglifyjs -c -m > dist/js/main.js",
191
+ "build:js": "cpx \"src/**/*.js\" ./dist -w -t babelify -t uglifyify",
107
192
  "build:images": "imagemin src/images/* -o dist/images",
108
193
  "build:copy": "cpx \"src/assets/**/(*.js|*.css)\" ./dist",
109
194
  "build": "npm run clean & npm-run-all -p build:*",

4

書式の改善

2018/05/22 07:21

投稿

am_765
am_765

スコア7

title CHANGED
File without changes
body CHANGED
@@ -65,8 +65,9 @@
65
65
  │ │ └── .svg,.png,.jpg,.gif
66
66
  │ │
67
67
  │ ├── include
68
- │ │ ├── _header.ejs
68
+ │ │ ├── _header.ejs
69
- │ │ ── _footer.ejs
69
+ │ │ ── _footer.ejs
70
+ │ │ └── _modules.ejs
70
71
  │ │
71
72
  │ └── index.ejs
72
73
 

3

書式の改善

2018/05/22 06:58

投稿

am_765
am_765

スコア7

title CHANGED
File without changes
body CHANGED
@@ -75,24 +75,22 @@
75
75
  └── postcss.config.js
76
76
 
77
77
  ### 発生している問題・エラーメッセージ
78
+ 下記のように出力されてしまう
78
79
 
80
+ site
81
+ ├── dist
82
+ │ │
83
+ │ ├── **
84
+ │ │ └── *.css
85
+ │ ├── include
86
+ │ │ ├── _header.html
87
+ │ │ └── _footer.html
88
+ │ └── js
89
+ │ │ └── main.js
90
+
91
+
79
92
  ```
80
- ✖ Input Error: Must use --dir or --replace with multiple input files
93
+
81
- npm ERR! code ELIFECYCLE
82
- npm ERR! errno 1
83
- npm ERR! sample@1.0.0 build:css: `postcss src/**/*.pcss -o dist/**/*.css --no-map`
84
- npm ERR! Exit status 1
85
- npm ERR!
86
- npm ERR! Failed at the sample@1.0.0 build:css script.
87
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
88
- ERROR: "build:css" exited with 1.
89
- npm ERR! code ELIFECYCLE
90
- npm ERR! errno 1
91
- npm ERR! sample@1.0.0 build: `npm run clean & npm-run-all -p build:*`
92
- npm ERR! Exit status 1
93
- npm ERR!
94
- npm ERR! Failed at the sample@1.0.0 build script.
95
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
96
94
  ```
97
95
  ### 該当のソースコード
98
96
 

2

書式の変更

2018/05/22 06:46

投稿

am_765
am_765

スコア7

title CHANGED
File without changes
body CHANGED
@@ -21,6 +21,8 @@
21
21
  │ │ ├── images
22
22
  │ │ │ └── .svg, .png, .jpg, .gif
23
23
  │ │ └── js
24
+ │ │ ├── vendor
25
+ │ │ │ └── *
24
26
  │ │ └── main.js
25
27
  │ │
26
28
  │ ├── css
@@ -31,10 +33,10 @@
31
33
  │ │ ├── css
32
34
  │ │ │ └── style.css
33
35
  │ │ └── images
34
- │ │ └── .svg,.png,.jpg,.gif
36
+ │ │ └── .svg, .png, .jpg, .gif
35
37
  │ │
36
38
  │ ├── images
37
- │ │ └── .svg,.png,.jpg,.gif
39
+ │ │ └── .svg, .png, .jpg, .gif
38
40
  │ │
39
41
  │ └── index.html
40
42
 
@@ -45,6 +47,8 @@
45
47
  │ │ ├── images
46
48
  │ │ │ └── .svg, .png, .jpg, .gif
47
49
  │ │ └── js
50
+ │ │ ├── vendor
51
+ │ │ │ └── *
48
52
  │ │ └── main.js
49
53
  │ │
50
54
  │ ├── css
@@ -98,24 +102,26 @@
98
102
  "version": "1.0.0",
99
103
  "scripts": {
100
104
  "clean": "rimraf dist/{css/*,js/*,images/*}",
105
+ "build:ejs": "ejs-cli --base-dir src/ \"**/*.ejs\" -o dist/",
101
- "build:css": "postcss ./src/**/*.pcss -o ./dist/**/*.css --no-map",
106
+ "build:css": "postcss src/**/*.pcss -o dist/**/*.css --no-map",
102
- "build:js": "mkdirp dist/js && browserify -t babelify src/**/*.js | uglifyjs -c -m > dist/**/*.js",
107
+ "build:js": "mkdirp dist/js && browserify -t babelify src/js/main.js | uglifyjs -c -m > dist/js/main.js",
103
- "build:images": "imagemin ./src/**/{*.svg, *.png, *.jpg, *.gif} -o ./dist/",
108
+ "build:images": "imagemin src/images/* -o dist/images",
104
- "build:ejs": "ejs-cli --base-dir ./src/ '/**/*.ejs' -o ./dist/",
109
+ "build:copy": "cpx \"src/assets/**/(*.js|*.css)\" ./dist",
105
110
  "build": "npm run clean & npm-run-all -p build:*",
106
- "watch:css": "postcss ./src/**/*.pcss -o ./dist/**/*.css -w",
111
+ "watch:css": "postcss src/css/main.pcss -o dist/css/main.css -w",
107
- "watch:js": "watchify -t babelify ./src/**/*.js -o 'uglifyjs -c -m > ./dist/**/*.js' -v",
112
+ "watch:js": "watchify -t babelify src/js/main.js -o 'uglifyjs -c -m > dist/js/main.js' -v",
108
- "watch:images": "onchange 'src/**/{*.svg, *.png, *.jpg, *.gif}' -e '**/*.DS_Store' -- npm run build:images",
113
+ "watch:images": "onchange 'src/images' -e '**/*.DS_Store' -- npm run build:images",
109
114
  "watch:server": "browser-sync start -s -f 'dist, **/*.html, !node_modules/**/*'",
110
115
  "watch": "npm-run-all -p watch:*",
111
- "lint:css": "stylelint src/**/*.pcss",
116
+ "lint:css": "stylelint src/css/**/*.pcss",
112
- "lint:js": "eslint src/**/*.js",
117
+ "lint:js": "eslint src/js/**/*.js",
113
118
  "postinstall": "npm run build && npm run watch"
114
119
  },
115
120
  "devDependencies": {
116
121
  "babelify": "^7.3.0",
117
122
  "browser-sync": "^2.18.13",
118
123
  "browserify": "^14.4.0",
124
+ "cpx": "^1.5.0",
119
125
  "cssnano": "^3.10.0",
120
126
  "ejs-cli": "^2.0.1",
121
127
  "eslint": "^4.3.0",
@@ -128,14 +134,11 @@
128
134
  "mkdirp": "^0.5.1",
129
135
  "npm-run-all": "^4.0.2",
130
136
  "onchange": "^3.2.1",
131
- "postcss-assets": "^5.0.0",
132
137
  "postcss-cli": "^4.1.0",
133
138
  "postcss-cssnext": "^3.0.2",
134
139
  "postcss-import": "^10.0.0",
135
- "postcss-nested": "^3.0.0",
136
140
  "rimraf": "^2.6.1",
137
141
  "stylelint": "^8.0.0",
138
- "stylelint-config-standard": "^18.2.0",
139
142
  "uglify-es": "^3.0.26",
140
143
  "watchify": "^3.9.0"
141
144
  }
@@ -145,5 +148,4 @@
145
148
  ### 試したこと
146
149
 
147
150
  ・cpxを使用したりしたのですが、srcの構造通りに出力できませんでした。
148
- ・出力できても**/*cssという形でアスタリスクがそのまま出力されてしまいました。
149
151
  ・それぞれのオプションを調べて記述してみましたが、上手くいきませんでした。

1

タグ追加

2018/05/22 06:34

投稿

am_765
am_765

スコア7

title CHANGED
File without changes
body CHANGED
File without changes