first
parents
Showing
.DS_Store
0 → 100644
File added
.gitignore
0 → 100644
.npmignore
0 → 100644
package-lock.json
0 → 100644
package.json
0 → 100644
{ | ||
"name": "@spark/Barrage", | ||
"version": "1.0.0", | ||
"main": "dist/bundle.js", | ||
"types": "types/index.d.ts", | ||
"license": "MIT", | ||
"scripts": { | ||
"dev": "npm-run-all -p -r dev:**", | ||
"dev:me": "spark package pack -s src -o test/src/bundle.js -w", | ||
"dev:test": "cd test && npm run dev", | ||
"build": "tsc --outDir 'src-js' -t es2017 -d --declarationDir 'types' --jsx preserve && node scripts/copy-others.js 'src-js'", | ||
"pack": "spark package pack -s src -o dist/bundle.js -p", | ||
"declare": "tsc -d --declarationDir 'types' --emitDeclarationOnly", | ||
"pub": "npm run build && read -p 'Input version: ' version && read -p 'Input remark: ' remark && spark package publish -s src -v $version -r $remark" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"tslib": "^2.0.1", | ||
"fs-extra": "^9.0.1", | ||
"less": "^4.1.0", | ||
"npm-run-all": "^4.1.5", | ||
"typescript": "^4.1.3", | ||
"@types/react": "^16.9.56" | ||
} | ||
} |
readme-tpl.md
0 → 100644
readme.md
0 → 100644
scripts/copy-others.js
0 → 100644
src/barrage/base.ts
0 → 100644
src/barrage/index.ts
0 → 100644
src/barrage/moveManger.ts
0 → 100644
src/barrage/track.ts
0 → 100644
src/barrage/type.ts
0 → 100644
src/barrage/utlis.ts
0 → 100644
src/env.d.ts
0 → 100644
src/index.ts
0 → 100644
src/meta.json
0 → 100644
test/.env
0 → 100644
test/.eslintignore
0 → 100644
test/config-overrides.js
0 → 100644
test/package.json
0 → 100644
test/public/index.html
0 → 100644
test/src/App.js
0 → 100644
test/src/App.scss
0 → 100644
test/src/App.test.js
0 → 100644
test/src/index.js
0 → 100644
test/src/index.scss
0 → 100644
test/src/setupTests.js
0 → 100644
tsconfig.json
0 → 100644
Please register or sign in to comment