-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
32 lines (32 loc) · 874 Bytes
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
"name": "tetris",
"version": "1.0.0",
"description": "",
"main": "index.js",
"watch": {
"build:dev": {
"patterns": ["src"],
"extensions": "js, html"
}
},
"scripts": {
"copyIndex": "mkdir build && cp src/views/index.html build/index.html",
"build": "npm run clean && npm run copyIndex && webpack",
"clean": "rm -rf build",
"build:dev": "npm run clean && npm run copyIndex && NODE_ENV=dev webpack --display-error-details",
"lint": "./node_modules/.bin/eslint ./",
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "npm-watch"
},
"author": "D Goomany",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.2.2",
"babel-cli": "^6.26.0",
"babel-loader": "^8.0.5",
"eslint": "^5.14.1",
"npm-watch": "^0.6.0",
"webpack": "^4.28.3",
"webpack-cli": "^3.2.0"
}
}