-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
59 lines (59 loc) · 1.98 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
52
53
54
55
56
57
58
59
{
"name": "ecmascript-examples",
"version": "1.4.0",
"description": "EcmaScript Demos",
"repository": {
"type": "git",
"url": "git+https://github.com/rickbeerendonk/ECMAScript-examples.git"
},
"author": "Rick Beerendonk",
"contributors": [
"Maria Isabel Valencia"
],
"license": "EUPL-1.2",
"bugs": {
"url": "https://github.com/rickbeerendonk/ECMAScript-examples/issues"
},
"homepage": "https://github.com/rickbeerendonk/ECMAScript-examples#readme",
"husky": {
"hooks": {
"pre-commit": "npm run validate",
"pre-push": "npm run validate"
}
},
"dependencies": {
"core-js": "3.38.0",
"serve": "14.2.3"
},
"devDependencies": {
"@babel/cli": "7.24.8",
"@babel/core": "7.25.2",
"@babel/eslint-parser": "7.25.1",
"@babel/plugin-proposal-decorators": "7.24.7",
"@babel/plugin-proposal-do-expressions": "7.24.7",
"@babel/plugin-proposal-partial-application": "7.24.7",
"@babel/plugin-proposal-pipeline-operator": "7.24.7",
"@babel/plugin-proposal-record-and-tuple": "7.24.7",
"@babel/preset-env": "7.25.3",
"@bloomberg/record-tuple-polyfill": "0.0.4",
"copyfiles": "2.4.1",
"eslint": "8.42.0",
"http-server": "14.1.1",
"husky": "4.3.8",
"prettier": "3.3.3",
"rimraf": "6.0.1"
},
"scripts": {
"build": "npm run clean && npm run copy-html-files && babel src --out-dir lib --source-maps",
"build-watch": "npm run clean && npm run copy-html-files && babel src -w --out-dir lib --source-maps",
"clean": "rimraf lib",
"copy-html-files": "copyfiles -u 1 src/**/*.html lib",
"eslint": "eslint --ext .js --cache",
"eslint-fix": "eslint --ext .js --cache --fix",
"openserver": "node \"./util - http-server/server.js\" 8080",
"prettier": "prettier --list-different '**/*.{css,json,js,html,md,mjs}'",
"prettier-fix": "prettier --write '**/*.{css,json,js,html,md,mjs}'",
"start": "npm run build && serve .",
"validate": "npm run eslint && npm run prettier"
}
}