Skip to content

nyuoss/23-fall-js-template-1

 
 

Repository files navigation

team3

Continuous Integration

This is the repository for team 3

1. Programming Language

  • Selected: JavaScript/Node.js

2. Toolchain / Runtime Environment

  • Selected: Node.js

3. Testing Framework

  • Selected: Mocha

4. Continuous Integration Solution

  • Selected: GitHub Actions

5. Static Analysis Solution

  • Selected: ESLint

6. Code Formatting Solution

  • Selected: Prettier

7. Package Manager Solution

  • Selected: npm

8. Pre-configured Static Analysis & Code Formatting

  • ESLint and Prettier should be configured as strictly as possible.

9. “Hello World” Program

  • src/helloWorld.js file:
console.log('Hello, World!');

10. Basic Test

  • test/test.js:
const sum = (a, b) => a + b;
test('adds 2 + 2 to equal 4', () => {
  expect(sum(2, 2)).toBe(4);
});

11. License

  • MIT license

12. Usage

  • install required modules:
    npm install
  • run helloWorld.js:
    npm run helloworld
  • run test for 2 + 2 = 4:
    npm test
  • run prettier:
    npm run format
  • run ESlint:
    npm run lint

About

This is the repository for team 3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%