Skip to content

Commit 6475df7

Browse files
MarcusTXKAnonymxtrix
authored andcommitted
Add scripts-info to package.json
1 parent 62be70e commit 6475df7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44
"version": "1.0.0",
55
"repository": "https://github.com/source-academy/modules.git",
66
"license": "Apache-2.0",
7+
"scripts-info": {
8+
"module": "Add a new bundle or tab",
9+
"lint": "Check code for errors",
10+
"lint:fix": "Automatically fix lint errors",
11+
"build": "Transpile modules' files from src folder to build folder",
12+
"serve": "Start the http-server to serve .js files in build folder",
13+
"prepare": "Enable git hooks",
14+
"test": "Run unit tests",
15+
"test:watch": "Watch files for changes and rerun tests related to changed files"
16+
},
717
"scripts": {
818
"module": "node ./templates/app.js",
919
"lint": "./node_modules/.bin/eslint --config ./.eslintrc.js --ext \".ts, .tsx\" src",

0 commit comments

Comments
 (0)