-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
43 lines (43 loc) · 1.38 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
{
"name": "npm-build-boilerplate",
"version": "2.0.0",
"description": "Boilerplate for npm as build tool",
"main": "index.js",
"scripts": {
"start": "concurrently -k \"npm run dev\" \"npm run watch-css\"",
"dev": "lite-server",
"db": "json-server --watch db.json --port 3005",
"build-js": "mkdir -p dist/js && uglifyjs src/js/*.js -m -o dist/js/app.js",
"lint": "lint jshint src/**/**.js",
"build-css": "node-sass --include-path scss scss/main.scss assets/main.css",
"watch-css": "nodemon -e scss -x \"npm run build-css\"",
"test": "mocha test",
"pretest": "npm run lint",
"posttest": "echo the test has been run!",
"bash": "Location of the bash/shell script file",
"clean": "rimraf ./dist/*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/madhankumar028/npm-build-boilerplate.git"
},
"keywords": [
"npm-build-boilerplate",
"buildcommands"
],
"author": "MadhankumarJ <madhankumar028@gmail.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/madhankumar028/npm-build-boilerplate/issues"
},
"homepage": "https://github.com/madhankumar028/npm-build-boilerplate#readme",
"devDependencies": {
"concurrently": "^3.5.0",
"jshint": "^2.9.5",
"json-server": "^0.12.0",
"lite-server": "^2.3.0",
"node-sass": "^4.5.3",
"nodemon": "^1.12.1",
"uglifyjs": "^2.4.11"
}
}