-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 2.06 KB
/
Copy pathpackage.json
File metadata and controls
48 lines (48 loc) · 2.06 KB
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
44
45
46
47
48
{
"name": "web-assignment-starter",
"version": "1.0.0",
"description": "A template for bootstrapping a web assignment",
"scripts": {
"copy-src": "copyfiles package.json src/**/* submission",
"mkdir": "mkdirp submission",
"eslint-to-file": "npm run eslint 1> submission/eslint.log 2>&1",
"eslint": "eslint src/**/*.js",
"stylelint-to-file": "npm run stylelint 1> submission/stylelint.log 2>&1",
"stylelint": "stylelint src/**/*.css",
"prettier": "prettier --write \"src/**/*.{html,js,css}\"",
"test-to-file": "npm run test 1> submission/test.log 2>&1",
"test": "jest src --",
"test-watch": "jest src --watch --",
"server": "live-server --baseDir=\"src\"",
"preprepare-submission": "rimraf submission",
"prepare-submission": "run-s -n -c prettier mkdir eslint-to-file test-to-file stylelint-to-file copy-src zip",
"prezip": "rimraf submission.zip",
"zip": "bestzip submission.zip submission/*",
"create-assignment": "run-s --print-name clean create-assignment-root create-assignment-pdf create-assignment-files create-assignment-zip",
"create-assignment-root": "mkdirp assignment",
"create-assignment-files": "copyfiles ./.vscode/**/* ./src/**/* ./.eslintrc.js ./.npmrc ./.prettierrc.js ./stylelintrc.js package.json assignment.pdf assignment",
"create-assignment-pdf": "markdown-pdf -o assignment.pdf README.md",
"create-assignment-zip": "bestzip assignment.zip assignment/",
"clean": "rimraf assignment assignment.pdf assignment.zip"
},
"license": "BSD-2-Clause",
"devDependencies": {
"@types/jest": "^24.0.25",
"bestzip": "^2.1.5",
"copyfiles": "^2.1.1",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.9.0",
"eslint-plugin-jest": "^23.3.0",
"eslint-plugin-prettier": "^3.1.2",
"jest": "^24.9.0",
"live-server": "^1.2.1",
"markdown-pdf": "^10.0.0",
"mkdirp": "^0.5.1",
"npm-run-all": "^4.1.5",
"prettier": "^1.19.1",
"rimraf": "^3.0.0",
"stylelint": "^12.0.1",
"stylelint-config-prettier": "^8.0.0",
"stylelint-prettier": "^1.1.2"
}
}