Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dukegod/javascript
all in js
https://github.com/dukegod/javascript
javascript
Last synced: 8 days ago
JSON representation
all in js
- Host: GitHub
- URL: https://github.com/dukegod/javascript
- Owner: dukegod
- Created: 2014-10-17T14:29:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-03-04T04:20:47.000Z (almost 2 years ago)
- Last Synced: 2024-11-12T16:31:14.384Z (2 months ago)
- Topics: javascript
- Language: JavaScript
- Homepage:
- Size: 5.54 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# javascript
### 打包
`build`文件夹中配置`rollup.config.js`
+ cmd: 'cjs'
+ umd: 'umd'### babel@7
`@bable/node`代替之前的`babel-cli`
+ -p : 执行指定的文件运行以下命令 + 指定的文件
```js
npm run babel ./a.js
```babel@7 带来的新特征:
+ babel包都添加`@`前缀
+ 去除复杂的`presets`### mocha
断言库: `chai`
运行以下命令 + 指定的文件
```js
npm run mocha 1.test.js
```### 目录说明
+ components: 工具库
+ LeetCode: leetcode
+ algorithms: 算法解析
+ js-patterns: 设计模式实现
+ boook