-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.87 KB
/
Copy pathpackage.json
File metadata and controls
58 lines (58 loc) · 1.87 KB
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
{
"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",
"serve": "^14"
},
"devDependencies": {
"@babel/cli": "^7",
"@babel/core": "^7",
"@babel/eslint-parser": "^7",
"@babel/plugin-proposal-decorators": "^7",
"@babel/plugin-proposal-do-expressions": "^7",
"@babel/plugin-proposal-partial-application": "^7",
"@babel/plugin-proposal-pipeline-operator": "^7",
"@babel/plugin-proposal-record-and-tuple": "^7",
"@babel/preset-env": "^7",
"copyfiles": "^2",
"eslint": "^8",
"http-server": "^14",
"husky": "^4",
"prettier": "^3",
"rimraf": "^6"
},
"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"
}
}