-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
51 lines (51 loc) · 1.67 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
44
45
46
47
48
49
50
51
{
"name": "typescript-optimization",
"browser": "./dist/index.html",
"version": "1.0.0",
"scripts": {
"typescript": "tsc -p ./src/tsconfig.json || echo done",
"babel": "babel src --out-dir src",
"format": "prettier . --write",
"lint": "eslint . --fix",
"clean": "shx rm -rf /src",
"build": "npm run typescript -s",
"run-for-array": "node ./dist/for-array.js",
"run-for-object": " node ./dist/for-object.js",
"run-for-of-array": "node ./dist/for-of-array.js",
"run-for-traditional-array": "node ./dist/for-traditional-array.js",
"run-plus-concat": "node ./dist/plus-concat",
"start": "npm run build && npm run run-for-array && npm run run-for-traditional-array && npm run run-for-of-array && npm run run-for-object && npm run run-plus-concat",
"parcel": "cross-env NODE_ENV=production parcel serve --target browser ./index.html",
"serve": "npm run parcel",
"prepare": "npm run build"
},
"dependencies": {
"chance": "latest",
"tiny-benchy": "https://github.com/aminya/tiny-benchy"
},
"devDependencies": {
"@babel/cli": "latest",
"@babel/core": "latest",
"@babel/plugin-transform-for-of": "latest",
"@types/chance": "^1.1.2",
"babel-preset-minify": "latest",
"cross-env": "^7.0.3",
"eslint-config-atomic": "^1.16.1",
"parcel": "^2.0.0-nightly.734",
"prettier": "latest",
"prettier-config-atomic": "^2.0.5",
"shx": "latest",
"ts-node": "latest",
"tslib": "latest",
"typescript": "latest"
},
"targets": {
"browser": {
"engines": {
"browsers": "Chrome 80"
},
"includeNodeModules": true
}
},
"prettier": "prettier-config-atomic"
}