forked from freeCodeCamp/freeCodeCamp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
114 lines (114 loc) · 4.54 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
{
"name": "@freecodecamp/freecodecamp",
"private": true,
"version": "0.0.1",
"scripts": {
"audit": "npm audit & lerna exec --no-bail 'echo $LERNA_PACKAGE_NAME & npm audit'",
"audit:fix": "npm audit fix & lerna exec 'echo $LERNA_PACKAGE_NAME & npm audit fix'",
"build": "npm-run-all ensure-env -p build:*",
"build:client": "cd ./client && npm run build",
"build:server": "cd ./api-server && npm run build",
"bootstrap": "lerna bootstrap --ci",
"clean": "npm-run-all clean:client clean:server clean:packages",
"clean-and-develop": "npm run clean && npm ci && npm run develop",
"clean:root-deps": "shx rm -rf node_modules",
"clean:packages": "lerna clean -y",
"clean:server": "shx rm -rf ./api-server/lib",
"clean:client": "cd ./client && npm run clean",
"clean:gatsby-site": "npm run clean:client",
"precypress": "node ./cypress-install.js",
"cypress": "cypress",
"cypress:install": "cypress install && echo 'for use with ./cypress-install.js'",
"cypress:dev:run": "npm run cypress -- run --config baseUrl=http://localhost:8000",
"cypress:dev:watch": "npm run cypress -- open --config baseUrl=http://localhost:8000",
"cypress:prd:run": "npm run cypress -- run --config baseUrl=http://localhost:8000",
"cypress:prd:watch": "npm run cypress -- open --config baseUrl=http://localhost:8000",
"develop": "npm-run-all ensure-env -p develop:*",
"develop:client": "cd ./client && npm run develop",
"develop:server": "cd ./api-server && npm run develop",
"docs:serve": "docsify serve ./docs -o --port 3200",
"ensure-env": "cross-env DEBUG=fcc:* node ./tools/scripts/build/ensure-env.js",
"e2e:dev:watch": "start-test develop ':3000/status/ping|8000' cypress:dev:watch",
"e2e:dev:run": "start-test develop ':3000/status/ping|8000' cypress:dev:run",
"e2e:prd:watch": "npm run build && start-test ':3000/status/ping|8000' cypress:dev:watch",
"e2e:prd:run": "npm run build && start-test ':3000/status/ping|8000' cypress:dev:run",
"format": "npm-run-all -p format:*",
"format:js": "npm run lint:js -- --fix",
"format:css": "npm run prettier -- --write",
"hooks:install": "node node_modules/husky/husky.js install",
"hooks:uninstall": "node node_modules/husky/husky.js uninstall",
"lint": "npm-run-all -p lint:*",
"lint:challenges": "cd ./curriculum && npm run lint",
"lint:js": "eslint .",
"lint:css": "npm run prettier -- --check",
"prettier": "prettier \"**/*.css\"",
"postinstall": "npm run bootstrap",
"seed": "npm-run-all -p seed:*",
"seed:auth-user": "cross-env DEBUG=fcc:* node ./tools/scripts/seed/seedAuthUser",
"serve:client": "cd ./client && npm run serve",
"start": "npm-run-all ensure-env -p develop:server serve:client",
"test": "npm-run-all -p test:*",
"test:client": "cd ./client && npm test",
"test:curriculum": "cd ./curriculum && npm test",
"test-curriculum-full-output": "cd ./curriculum && npm run test:full-output",
"test:curriculum-js": "jest --rootDir ./curriculum",
"test:server": "cd ./api-server && npm test",
"test:tools": "jest ./tools",
"test:utils": "jest --rootDir ./utils"
},
"devDependencies": {
"@freecodecamp/eslint-config": "^2.0.2",
"babel-eslint": "^10.1.0",
"cross-env": "^7.0.2",
"cypress": "^5.3.0",
"debug": "^4.2.0",
"docsify-cli": "^4.4.1",
"dotenv": "^6.2.0",
"eslint": "^5.16.0",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-prefer-object-spread": "^1.2.1",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.4",
"eslint-plugin-react-hooks": "^2.0.1",
"execa": "^4.0.3",
"gray-matter": "^4.0.2",
"husky": "^3.1.0",
"jest": "^24.9.0",
"js-yaml": "^3.14.0",
"lerna": "^3.22.1",
"lint-staged": "^8.2.1",
"lodash": "^4.17.20",
"markdownlint": "^0.21.0",
"npm-run-all": "^4.1.5",
"ora": "^3.4.0",
"prettier": "^1.18.2",
"prismjs": "^1.21.0",
"readdirp-walk": "^1.7.0",
"shx": "^0.3.2",
"sinon": "^7.4.1",
"sinon-express-mock": "^2.2.1",
"start-server-and-test": "^1.11.5"
},
"lint-staged": {
"linters": {
"*.js": [
"eslint --fix",
"git add"
],
"./curriculum/challenges/**/*.md": "node ./tools/scripts/lint/index.js",
"*.css": [
"prettier --write",
"git add"
]
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"dependencies": {}
}