forked from Chalarangelo/30-seconds-of-code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
33 lines (33 loc) · 931 Bytes
/
config.js
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
module.exports = {
// Project metadata
name: `30 seconds of code`,
description: `Curated collection of useful JavaScript snippets that you can understand in 30 seconds or less.`,
shortName: `30s`,
repositoryUrl: `https://github.com/30-seconds/30-seconds-of-code`,
siteUrl: `https://www.30secondsofcode.org`,
// Path information
snippetPath: `snippets`,
snippetArchivePath: `snippets_archive`,
glossaryPath: `glossary`,
snippetDataPath: `snippet_data`,
assetPath: `assets`,
pagePath: `src/docs/pages`,
staticPartsPath: `src/static-parts`,
distPath: `dist`,
testPath: `test`,
// General information
language: {
short: `js`,
long: `JavaScript`
},
// Module information
moduleName: `_30s`,
rollupInputFile: `imports.temp.js`,
testModuleFile: `test/_30s.js`,
// Requirable JSONs
requirables: [
`snippets.json`,
`archivedSnippets.json`
],
parser: '_30codeParser',
};